Hi All
we have an angular SPA using below Okta js libraries:
"@okta/okta-angular": "^5.2.0",
"@okta/okta-auth-js": "6.7.4",
"@okta/okta-signin-widget": "6.6.1"
token/storage oktaAuth settings are as below:
"tokenManager": {
"storage": "sessionStorage"
},
"storageManager": {
"token": {
"storageType": "sessionStorage",
"storageTypes": []
},
"cache": {
"storageType": "sessionStorage",
"storageTypes": []
},
"transaction": {
"storageType": "sessionStorage",
"storageTypes": []
}
}
interactionCodeFlow is set as true in the signin-widget config.
I was wondering if there’s an option to avoid a user to be already logged opening a new tab, as well as opening a new browser window.
e.g. in fact if I log in in tab A and then I open the tab B (same url), the signin-widget will automatically redirect the user to the main application page as the user result already authenticated.
Any chance to avoid above behaviour or is intended as the expected one?
Thanks,
F