Reputation: 768
I am using Google Sign in to authenticate users in my mobile app, but Android users are having an issue.
The flow is:
WebBrowser.openAuthSessionAsync
) that points to our authentication server, with a redirect-uri
query param. Important to note that android uses ChromeCustomTabs
.redirect-uri
into the state
property of OAuth.What should happen (and does for most people):
redirect-uri
(and verify it is valid)WebBrowser.openAuthSessionAsync
detects deep link and sets authentication then closesThe problem happens only for a small subset of users, and I am at a loss for what part of the process is breaking down. We don't receive any errors from expo
or on the server
.
Does anyone have any ideas on what could be going wrong or how to configure where Gmail / System prompt redirects you to?
I am using the web browser, as we want the server to handle this flow and because we re-use this same system for our web app.
Thanks
Upvotes: 2
Views: 88