-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTMAppAuth flow breaks if using Google Chrome #30
Comments
|
Just in case someone else runs into it. Just default it to open with safari instead |
@dsanghan Would you be willing to make a pull request? |
I feel we should plumb the desired bundle identifier out so that clients can use an explicit value, as in the example here. We should also expose some common browser bundle identifiers as constants for convenience. Default behavior can remain as-is, but clients who want to opt-in to safari-only or X-only can. I believe this issue is otherwise more generally solved with the built-in callback server in AppAuth? |
Hi I added a sample project which included MacOs and swift support. I tested it on Chrome and it worked fine. The only thing I can think might be causing above is if the Url is not entered correctly into your Info.plist #60 has the pull request - feel free to try it if it's still an issue. |
@grantkemp: I'd also opened an issue on chromium. Might have been fixed at their end. I'll recheck and close if needed. Thanks. |
As of Safari 11, Safari exhibits similar behavior (it closes the native prompt instead of ignoring user input like Chrome does). The previous suggestion remains the best one (use the built-in callback server to avoid the dialogs altogether when using an IdP that supports PKCE, like Google). Otherwise, this is a browser and IdP issue. |
Steps to reproduce (Mac):
Issue does not happen on Firefox/Safari. I figure this is more of a Chromium bug than an GTMAppAuth bug, but there needs to be a more graceful way of handling this on the client end.
The text was updated successfully, but these errors were encountered: