hello everyone, I wanted to implement social login with custom UI, but i am getting below error
auth.service.ts:24
GET
http://localhost:8000/api/auth/authorisationurl?thirdPartyId=google&redirectURIOnProviderDashboard=http%3A%2F%2Flocalhost%3A8000%2Fauth%2Fcallback 400 (Bad Request)
{"message":"the provider google could not be found in the configuration"}
i am using fastapi for backend and angular for frontend
fastapi
this is my RecipeList
RECIPE_LIST = [
session.init(),
thirdpartyemailpassword.init(
sign_up_feature = thirdpartyemailpassword.InputSignUpFeature( form_fields=[InputFormField(id='email'),
InputFormField(id='password'),
InputFormField(id='firstName'),
InputFormField(id='lastName'),
InputFormField(id='phone')
],
)),
thirdparty.init(
sign_in_and_up_feature=thirdparty.SignInAndUpFeature(providers=[
ProviderInput(
config=ProviderConfig(
third_party_id="google",
clients=[
ProviderClientConfig(
client_id="1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com",
client_secret="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",
),
],
)
)
])
),
dashboard.init()
]