We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 807821c + 1b61ce5 commit d5265f6Copy full SHA for d5265f6
src/javascript/app/pages/sso-loader.jsx
@@ -8,6 +8,13 @@ export const init = () => {
8
const clientAccounts = JSON.parse(
9
localStorage.getItem('client.accounts') || '{}'
10
);
11
+
12
+ const url_params = new URLSearchParams(window.location.search);
13
+ const account = url_params.get('account');
14
+ if (account) {
15
+ sessionStorage.setItem('account', account);
16
+ }
17
18
const isClientAccountsPopulated = Object.keys(clientAccounts).length > 0;
19
const willEventuallySSO =
20
loggedState === 'true' && !isClientAccountsPopulated;
0 commit comments