-
Notifications
You must be signed in to change notification settings - Fork 319
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
Adrienne / Fix reset password getting SSOed #18018
Adrienne / Fix reset password getting SSOed #18018
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-adrienne-deriv-fix-create-password-sso.binary.sx/ |
const auth_keys = ['acct', 'token']; | ||
const is_acct_token_params = auth_keys.some( | ||
account_key => key?.includes(account_key) && key !== 'affiliate_token' | ||
); |
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.
Just check if query parameters has acct
or token
, then we set logged_state
to true
c9f0459
* chore: only set logged state cookies when we see acct and token in params --------- Co-authored-by: Prince <[email protected]>
* chore: only set logged state cookies when we see acct and token in params --------- Co-authored-by: adrienne-deriv <[email protected]>
Changes:
true
when user is logging in using social login (Google, Facebook) in order for other apps to be automatically logged inPlease provide a summary of the change.
Screenshots:
Please provide some screenshots of the change.