-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: implemented cancel scenario in oauthSignIn for signInWithRedirect #14434
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: implemented cancel scenario in oauthSignIn for signInWithRedirect #14434
Conversation
soberm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @hetmann, thank you for creating this PR. I left some comments. Please let me know if you have any questions or need clarification on any of the feedback.
packages/auth/__tests__/providers/cognito/signInWithRedirect.test.ts
Outdated
Show resolved
Hide resolved
packages/auth/__tests__/providers/cognito/signInWithRedirect.test.ts
Outdated
Show resolved
Hide resolved
…mplify-js into fix/cognito-signinwithredirect
|
@soberm Thank you for your review. I fixed the PR comments. Let me know if I need to do something else. |
|
Hi @hetmann, currently the unit-tests fail. |
|
Run the E2E tests here. |
Description of changes
This PR fixes the use case to handle when user cancels the pop up for federated Sign In when calling
signInWithRedirect().Issue #, if available
#9948
Description of how you validated changes
Run unit, E2E tests
Checklist
yarn testpassesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.