-
Notifications
You must be signed in to change notification settings - Fork 894
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
Wait for upto 8s for IDP sign in to finish, after popup is closed. #7140
Conversation
🦋 Changeset detectedLatest commit: 4efa91a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
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.
You may want to change the title of this PR to 8s
.
Size Report 1Affected ProductsNo changes between base commit (ecb4454) and merge commit (b9ccd3e).Test Logs |
Size Analysis Report 1Affected ProductsNo changes between base commit (ecb4454) and merge commit (b9ccd3e).Test Logs |
62d1ae2
to
279b746
Compare
This is probably causing a real failure in the CI. will investigate and target the next release. |
d486d34
to
0241ba4
Compare
37bf4ae
to
59d2c86
Compare
In some cases (Fiefox or mobile or if opener is an iframe), the popup is closed by the oauth helper code right after sign in has completed at the IDP. The IDP response still needs to be processed by the SDK + signInWithIdp API call needs to be invoked. This can take upto 7s, if there is a blocking function configured. Increase the poller timeout to 8s, so it does not reject the sign in with popup-closed-by-user error. increase timeout for the aborted sign in test.
In some cases (Fiefox or mobile or if opener is an iframe), the popup is closed by the oauth helper code right after sign in has completed at the IDP. The IDP response still needs to be processed by the SDK + signInWithIdp API call needs to be invoked. This can take upto 7s, if there is a blocking function configured. Increase the poller timeout to 8s, so it does not reject the sign in with popup-closed-by-user error.
Fixes - #7049, #7093
@sam-gc @renkelvin