Open fseee opened 2 years ago
any news? im also having an issue after upgrade in this version,
// not triggering oktaAuth.authStateManager.subscribe(authState => {
}
"@okta/okta-auth-js": "7.8.1",
"@okta/okta-react": "6.9.0",
"@okta/okta-signin-widget": "7.24.2",
Describe the bug?
Subscribing to the authStateManager, according to documentation:
i would expect to receive a callback immediately after user has been deactivated and or user session has been cleared. At the moment the callback is not triggered.
What is expected to happen?
I expect to receive an isAuthenticated=false message immediately after user session has been closed (by Session API or Admin Console).
What is the actual behavior?
Once user has been deactivated/session cleared, the authState will be updated only when the access token lifetime set in the authServer will expire:
Reproduction Steps?
SDK Versions
Execution Environment
Chrome
Additional Information?
No response