You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, tell us how to recreate the issue in as much detail as possible.
-> Use openAuth() with Google Sign On.
Is there any code involved?
Hello, I'm trying to do Google Sign On on my mobile application. The first flow is going well, however I'm having issue with redirection to my app, it's triggering an error.
Basically, after the first call, I managed to retrieve the first URL : firstUrl = https://accounts.google.com/o/oauth2/v2/auth?client_id=.... Regarding redirect_uri, I jut did encodeURIComponent('my_app'), meaning that in the URL, I've something like &redirect_uri=my_app.
Then with the react-native project, I'm doing :
When launching all of this, I'm having this screen :
I'm pretty sure it's an issue with credentials setup on google cloud console. And I need to setup my "scheme" as accepted redirection, but I don't find such available configuration for iOS application OAuth 2.0...
Thank you for the help, I'm pretty sure it's a straightforward error, thanks for the help.
The text was updated successfully, but these errors were encountered:
I found something.
I basically switched my Client ID from Google oauth2.0 ID's (which was originally for a Client Web) to an iOS Client Oauth2.0.
And in the redirect_url in backend side, and in the openAuth as scheme my com.package.app:// matching the iOS client ID's. Just like that. SO in a way problem fixed, but...
However, can't I use client web to do that ? I mean, I'm opening an in-app browser opening a WebView Like, should be doable no ?
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
-> Use openAuth() with Google Sign On.
Is there any code involved?
Hello, I'm trying to do Google Sign On on my mobile application. The first flow is going well, however I'm having issue with redirection to my app, it's triggering an error.
Basically, after the first call, I managed to retrieve the first URL :
firstUrl = https://accounts.google.com/o/oauth2/v2/auth?client_id=...
. Regarding redirect_uri, I jut didencodeURIComponent('my_app')
, meaning that in the URL, I've something like&redirect_uri=my_app
.Then with the react-native project, I'm doing :
When launching all of this, I'm having this screen :
I'm pretty sure it's an issue with credentials setup on google cloud console. And I need to setup my "scheme" as accepted redirection, but I don't find such available configuration for iOS application OAuth 2.0...
Thank you for the help, I'm pretty sure it's a straightforward error, thanks for the help.
The text was updated successfully, but these errors were encountered: