hello everyone, I wanted to implement social login...
# support-questions-legacy
a
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() ]
r
just as a suggestion, you can use 3 backticks to format code at the begin and the end on your code (\`\`\`) . dreictly after the first backticks, you can add a language.
r
@anuj6163 you should not be using thirdpartyemailpassword and thirdparty recipe. Pick just one of them and try again
a
this below is correct right?
I tried it but still getting same error
now i am getting this
I basically have it like this please help me, it is not working
r
The path should be /auth/callback/google
a
i got it but after siginin i am not getting redirected to this path
@rp_st
r
frontend redireciton should be /auth/callback/google
the 404 is from your web server not serving your frontend UI. So you should make sure your webserver is serving the UI bundle on that path
a
ahh ok got it 🙂
12 Views