-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I'm submitting a:
- Bug report
- Feature request
- Other (Describe below)
Current behavior
When opening app which requires okta authentication the user is not redirected to sign in. They just see a blank page with nothing.
In the console is the error: The client specified not to prompt, but the user is not logged in
To trigger redirect you have to refresh the page (opening dev tools also triggers redirect)
Expected behavior
Okta automatically redirects user to sign in page and then returns user to app after login
Minimal reproduction of the problem with instructions
Steps to reproduce:
- login to the web app
- close the browser (no logout)
- wait for the token and the refresh token to expire
- open the web app
blank page, no redirect with error message in console.
The client specified not to prompt, but the user is not logged in
Extra information about the use case/user story you are trying to implement
It was working perfectly in the old version
"@okta/okta-angular": "^3.1.0",
"@okta/okta-auth-js": "^4.9.1",
but has stopped working since updating
Environment
- Package version: 4.1.0
- Angular version: 10.2.3
- Browser: Chrome
- OS: win32 x64
- Node version (
node -v): 16.13.0 - Other: @okta/okta-auth-js: 5.6.0
Configuration
- Okta application type: Okta hosted signin widget
Metadata
Metadata
Assignees
Labels
No labels