-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
iOS 'GoogleSignIn' pod - Select account screen does not show up again #357
Comments
I'm also seeing this behaviour. Was it introduced in 4.1.0 with the use of SFAuthenticationSession? |
Have the same issue here with SDK v4.0.2 and v4.1.2, this caused user can't switch account within our App. |
Login process should redirect to a page with existed login account (if any) or Use another account options after tapped GIDSignInButton, but now that page is gone once you have signed in succeed.
|
Having the same issue on 4.1.1 and updating to 4.1.2 did not help. A workaround of opening a logout page (https://accounts.google.com/Logout) from SFSafariViewController before signing in seems to work in iOS 10, but not iOS 11... possibly due to the SDK using SFAuthenticationSession. Will have to downgrade to 4.0.1 and see if workaround works for both iOS versions there. |
Facing the same issue. What is the fix? signout and disconnect does nothing. Any older versions of the sdk helps? |
I'm also facing this problem. Help me. |
The issue is not yet fixed for me on v4.1.2. If the user is logged in to only one account in Safari, the account selector is not presented and the SDK automatically signs in to the account that's logged in in Safari. |
Experiences the same behaviour - have tried v.4.0.0, 4.0.2, 4.1.1 and 4.1.2. Any workarounds? Seems like it is related to setting of |
New workaround here: SDK v4.0.1 + opening a logout page (https://accounts.google.com/Logout) from SFSafariViewController (@cokodude mentioned) |
There are many Authentication URI parameters. One of them is "prompt" which could have a "select_account" value. It helped me to resolve the same issue for Auth0-service Google integration. Maybe could be useful for your issue. |
When the user logs out, if we call It works for us |
Hello I installed the Google SDK using Cocoapods but is there a way to tell which version of the Google SDK i have? I'm assuming Cocoapods installed the latest version. Supposedly, the latest version 5.0 fixed the logout issue. Thanks |
Step 1: Are you in the right place?
I believe I am in the right place, however there is a StackOverflow question tracking this as well (not written by me, but +1'd by me)
Step 2: Describe your environment
Step 3: Describe the problem:
After selecting a Google account once, the user cannot select an account again, unless the user goes into Safari and chooses to sign out (or add more accounts) there.
This issue persists regardless of if the user selects the
Sign out
orDisconnect
button in the Sample (or for that matter in any app that uses the iOS GoogleSignIn SDK 4.1.2.Steps to reproduce:
google-services/ios/signin
of this repository (Objective-C version, but the same happens with Swift)Observed Results:
As you can see from the video (captured with the latest current version of
google-services/ios/signin
from this repository), it is not possible to choose a user, once the choice has been made.Expected Results:
After calling
[[GIDSignIn sharedInstance] signOut];
orGIDSignIn.sharedInstance().signOut()
the user should be able to select a new google account.Relevant Code:
The code in this repository.
Thank you!
The text was updated successfully, but these errors were encountered: