Skip to content
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

fix(rna): replace useAuthenticator signOut with default version #4942

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

calebpollman
Copy link
Member

Description of changes

Update React Native useAuthenticator to use signOut from aws-amplify/auth version due to iOS specifc requirements for federated sign out handling with @aws-amplify/rtn-web-browser. On iOS sign out, the end user is prompted with a native alert requesting confirmation of sign out. If the end user cancels they will have already been signed out of the state machine, but will still continue to be authenticated on the JS singleton.

Issue #, if available

Fixes #4910

Description of how you validated changes

Manual testing

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@calebpollman calebpollman requested a review from a team as a code owner January 23, 2024 06:42
Copy link

changeset-bot bot commented Jan 23, 2024

🦋 Changeset detected

Latest commit: 0a8b168

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@aws-amplify/ui-react-native Patch
@aws-amplify/ui-react-native-auth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@calebpollman calebpollman merged commit ad12595 into main Jan 23, 2024
33 checks passed
@calebpollman calebpollman deleted the rna/fix-fed-sign-out branch January 23, 2024 16:35
@github-actions github-actions bot mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

problem with IOS Facebook federated identify when user cancel instead of confirm the signout
3 participants