https://supertokens.com/ logo
Title
g

ggishant

10/14/2022, 4:11 AM
Hi, when the React SDK is calling the GET Authorisation endpoint it's returning 404, but when the same url is called using postman or the browser, I'm able to get a response. Any clue why this would be happening?
r

rp

10/14/2022, 4:11 AM
Hey! Can you enable backend debug log and show the output when this api is called?
sure
this is when I get 404
when I'm calling from browser or postman
r

rp

10/14/2022, 4:16 AM
Oh right. It seems that you have initialised different recipes on the frontend and backend
Both should have thirdpartyemailpassword
g

ggishant

10/14/2022, 4:21 AM
oh okay, i have initialised third party and passwordless separately on backend, let me correct that
r

rp

10/14/2022, 4:21 AM
Ah. So you should initliase thirdpartypasswordless recipe on the backend
Just like how you have done in the frontend
g

ggishant

10/14/2022, 4:37 AM
Yep it worked
r

rp

10/14/2022, 4:38 AM
Nice!
g

ggishant

10/14/2022, 4:40 AM
Another question though 😅
These are my providers for multiple sources
How do I uniquely identify them while getting the redirect URI?
I'm only getting
google
as provider.ID
s

sattvikc

10/14/2022, 4:43 AM
will share u a code snippet to do that in a while