Confusing UI sign in with OIDC on 1.7.4
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Nomad version
`1.7.4+ent`
### Issue
We use OIDC + Okta for SSO and after upgrading to 1.7.4 I get a rather confusing experience from the UI upon sign in.
### Reproduction steps
I'm attaching some screenshots as it's easier to explain this way:

Click on Sign In

Click on Sign in with okta

Refresh the page:

#### Expected Result
The user clearly understands whether he's logged in or not and is displayed all policies and roles attached to his token.
#### Actual Result
The user gets displayed a page with a "Token not found" error, an info message saying "Token Authenticated!" but the Sign In button is still present in the upper right corner. This is very confusing from a user point of view.
### Job file (if appropriate)
I can share the auth method configuration if that can help troubleshooting this issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.