-
Notifications
You must be signed in to change notification settings - Fork 247
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
[Feature Request] Global Sign Out #398
Comments
FYI - This issue will be used to track a global sign out feature, which is currently supported in the iOS and Android libraries. #418 will be used to track single device sign on. |
#782 has been merged which adds global sign out. This will be included in the next release. I will update this issue once it is available. |
This option is available in version 0.2.5 and later. The docs update for this is still pending, so I will keep this issue open. Until then, here is a snippet showing how to use this option: try {
await Amplify.Auth.signOut(options: SignOutOptions(globalSignOut: true));
} on AmplifyException catch (e) {
print(e.message);
} |
The docs for this are now available here. |
Firstly, great work with the package. appreciate all the work.
I was wondering can a feature be added where as soon a user Signs in via Amplify.Auth, the system logs the user out of all other active sessions? This way only a single user can be logged into a single device at a time.
Also, I noticed with the new release, the global signout option was deprecated.
The text was updated successfully, but these errors were encountered: