recently I\'ve been learning about react native and I encountered a so farm unsolvable problem. I\'m trying to authenticate using gmail OAuth2 from my app, as a redirect paramet
I'm using AppAuth library to get the OAuth2 tokens. As per the Google's official document, this format has worked for me.
For example, if your app id is com.example.app
, then in your AndroidManifest.xml
And the redirectUrl to be provided to AppAuth would look like this
private val redirectUrl = "com.example.app:/oauth2callback"
Hope this helps someone.