https://supertokens.com/ logo
Title
s

shri

10/28/2022, 11:29 AM
Hi i am trying to implement social and password less login with mobile number. With mobile its working but google social login is not working. getting this error - https://***.*.in/auth/callback/google/ 404
n

nkshah2

10/28/2022, 11:45 AM
Hi @shri , Can I see the config you use when calling SuperTokens.init on the backend?
s

shri

10/28/2022, 11:47 AM
@nkshah2 SuperTokens.init({ appInfo: { appName: "Shell App", apiDomain: getApiDomain(), apiGatewayPath: "/realm", websiteDomain: getWebsiteDomain(), apiBasePath: "/auth", }, recipeList: [ ThirdPartyPasswordless.init({ emailVerificationFeature: { mode: "REQUIRED", }, signInUpFeature: { providers: [ThirdPartyPasswordless.Google.init()], defaultCountry: "IN", }, contactMethod: "PHONE", getRedirectionURL: async (context) => { console.log(context, "context"); if (context.action === "SUCCESS") { if (context.redirectToPath !== undefined) { // we are navigating back to where the user was before they authenticated return context.redirectToPath; } return "/sns"; } return undefined; }, }), Session.init({ sessionScope: ".dummy.in", }), ],
this is my ui config
n

nkshah2

10/28/2022, 11:49 AM
Can you explain the flow for your app? What APIs are you calling?
s

shri

10/28/2022, 11:53 AM
@nkshah2
n

nkshah2

10/28/2022, 11:55 AM
What framework are you using on your frontend?
s

shri

10/28/2022, 11:55 AM
react
n

nkshah2

10/28/2022, 11:55 AM
And are you using a router?
s

shri

10/28/2022, 11:55 AM
yes
s

shri

10/28/2022, 11:56 AM
doing same
only social login not working
otp based working
problem is happening while clicking on continue with google
@nkshah2
n

nkshah2

10/28/2022, 11:58 AM
Might be easier to debug this on call
s

shri

10/28/2022, 11:58 AM
sure
huddle?
n

nkshah2

10/28/2022, 11:59 AM