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
I was wondering how to set up Google Sign-In with NativePHP.
Has anyone done it before?
Here’s the process I had in mind:
The user clicks the login button.
An API generates a Google Sign-In link, and the user is redirected to this URL to log in.
The user logs in.
Then, he si redirected back to the app using deep links.
The problem I encountered is that Google (in the Google Console) does not accept deep links. One possible solution could be to redirect to a web page (which completes the user authentication, once again with the API) and then redirect to the app.
For now, I can’t get the deep link to work during development (when the app is running with composer native:dev).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I was wondering how to set up Google Sign-In with NativePHP.
Has anyone done it before?
Here’s the process I had in mind:
The problem I encountered is that Google (in the Google Console) does not accept deep links. One possible solution could be to redirect to a web page (which completes the user authentication, once again with the API) and then redirect to the app.
For now, I can’t get the deep link to work during development (when the app is running with
composer native:dev
).I’d appreciate any advice :)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions