-
Notifications
You must be signed in to change notification settings - Fork 312
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
Authenticator.Provider useAuthenticator hook does not display Sign In UI after signOut is performed #5861
Closed
4 tasks done
Labels
pending-maintainer-response
Issue is pending response from an Amplify UI maintainer
Comments
github-actions
bot
added
pending-triage
Issue is pending triage
pending-maintainer-response
Issue is pending response from an Amplify UI maintainer
labels
Oct 2, 2024
scorobogaci
changed the title
useAuthenticator hook does not display Sign In UI after signOut is performed
Authenticator.Provider useAuthenticator hook does not display Sign In UI after signOut is performed
Oct 2, 2024
Shall the signOut automatically redirect the user to SignIn? The Authenticator component should handle the sign-in and sign-out flow automatically. When you call |
|
github-actions
bot
added
pending-maintainer-response
Issue is pending response from an Amplify UI maintainer
and removed
pending-triage
Issue is pending triage
pending-maintainer-response
Issue is pending response from an Amplify UI maintainer
labels
Oct 2, 2024
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Create React App
What browsers are you seeing the problem on?
Chrome
Which region are you seeing the problem in?
eu-central-1
Please describe your bug.
When using
<Authenticator.Provider>
useAuthenticator
hook does not render the Sign In UI after signOut is invoked(even though it does sign out the user)Reference : https://ui.docs.amplify.aws/react/connected-components/authenticator/advanced
What's the expected behaviour?
When signOut method from
useAuthenticator
user should be logged out and Sign In UI should be presentedHelp us reproduce the bug!
Try to use the samples as described here : https://ui.docs.amplify.aws/react/connected-components/authenticator/advanced
Code Snippet
Console log output
No response
Additional information and screenshots
package.json
The text was updated successfully, but these errors were encountered: