We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb6de5c commit 00c9a47Copy full SHA for 00c9a47
src/javascript/_common/auth.js
@@ -143,13 +143,6 @@ export const requestSingleSignOn = async () => {
143
// if client.accounts in localStorage is empty - !isClientAccountsPopulated
144
// and if feature flag for OIDC Phase 2 is enabled - isAuthEnabled
145
// Check if any account or its linked account is missing a token
146
- const hasMissingToken = Object.values(clientAccounts).some((account) => {
147
- // Check if current account is missing token
148
- if (!account?.token) {
149
- return true; // No linked accounts and no token
150
- }
151
- return false;
152
- });
153
154
const shouldRequestSignOn =
155
isLoggedInCookie &&
0 commit comments