https://supertokens.com/ logo
Title
s

sullof

12/27/2022, 11:46 PM
To be more precise the error by Google is
Error 400: redirect_uri_mismatch
r

rp

12/28/2022, 5:27 AM
hey @sullof what redirect url did you configure on google's dashboard?
s

sullof

12/28/2022, 5:59 AM
The dashboard allow me only to set up the domain. It forbids explicitly from using a pathname. So I just set https://auth.byte.city
I also tried to use http://localhost:3000 but it wants https
r

rp

12/28/2022, 6:27 AM
hmm. Are you talking about google's dashboard? It would allow you to set
http://localhost:3000/auth/callback/google
. Maybe you are setting it in the wrong place.
s

sullof

12/28/2022, 6:39 PM
I solved it in the meantime. Thanks for your support.
I have an unrelated question. On the frontend, I get the userId. But I also need to know the user's email. I assume that I should be able to call an API in the backend to get that, but I can't find info about that. Can you point me to some documentation about it?
Never mind, I guess I can intercept the signinup request to the API server.
I solved it. Everything was in the docs... Thanks again! The product is really impressive.
r

rp

12/29/2022, 5:32 AM
ah right! okay
m

Maxime R

02/13/2023, 6:30 PM
Hello @sullof 🙂 can you help me ? i got the same problem