#[SOLVED]How to add OAuth2 Google Sign In in React Native.

6 messages · Page 1 of 1 (latest)

slender trench
#

I am trying to add OAuth2 sessions to my app and I have been fighting for a long time. An error keeps on popping.
It is error Error 400: redirect_uri_mismatch.
I don’t know what else to do. I have the client well configured but this uri mismatch is breaking my head.

regal ember
#

Authorised javascript origins should be your website url i think, add localhost
Maybe i am wrong

slender trench
#

For anyone having the same issue, I will try to explain the problem and how to solve it!!

#

Once the error pops up you shold click on “error details”

#

Once clicked this modal appears and there is an important url you must copy to paste to the google cloud console

#

Add the link into authorised redirect URLs