You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sessions): Add env var for unverified session state + bandaid FE fix
Because:
* Users in a non-Sync, non-2FA unverified session state are taken directly to Settings
This commit:
* Adds a new env var for testing to simulate an account/session in this state
* Adds a bandaid fix for what auth-server is returning in this state around 'verified', which directly references the session verification state, until a better solution is implemented in a follow up
* Adds our new auth strategy to the 'account/attached_client/destroy' endpoint
closes FXA-12406
doc: 'Force sign-in confirmation for all accounts',
1603
+
doc: 'Force sign-in confirmation for all accounts. Sets "mustVerify: 1" on created session tokens and creates an entry in unverifiedTokens, simulating a suspicious request or requesting scoped keys',
1604
1604
format: Boolean,
1605
1605
default: false,
1606
1606
env: 'SIGNIN_CONFIRMATION_FORCE_GLOBALLY',
1607
1607
},
1608
+
tokenVerification: {
1609
+
doc: 'If set to false, force sign-in confirmation for logins that do not request scoped keys. Sets "mustVerify: 0" on created session tokens but creates an entry in unverifiedTokens, simulating an unverified session state',
0 commit comments