-
Notifications
You must be signed in to change notification settings - Fork 934
[Auth] set key in storage before redirect, check this key before checking for redirect events #4550
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
Conversation
|
Co-authored-by: Yuchen Shi <[email protected]>
Co-authored-by: Yuchen Shi <[email protected]>
This change prevents checking for redirects unless a key is set in storage. This brings the new SDK closer in line with the old SDK.
This change also similarly adds a new field to the resolver called
_shouldInitProactively
. This field is true for specific environments where opening the iframe is costly or can break the popup flow (i.e. Safari).