Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault UI - Sometime got a blank screen when using OIDC authentication #8369

Closed
Zenithar opened this issue Feb 18, 2020 · 3 comments
Closed
Labels
bug Used to indicate a potential bug community-sentiment Tracking high-profile issues from the community ui

Comments

@Zenithar
Copy link

Zenithar commented Feb 18, 2020

Description

We are using Vault 1.3.2 with OIDC authentication via Okta IDP.

To Reproduce

  • Setup a vault cluster with OIDC via Okta
  • Login with UI
  • Get out from UI
  • Do some work
  • Get back to UI
    • Sometimes it says your "you need to reauthenticate" (expected)
    • Sometimes the UI is stuck to a white page with JS errors in the console

JS ERROR :

Error while processing route: vault.index n.policies is null checkForRootToken/<@https://vault.domain.tld/ui/assets/vault-14dca2e4637df4256c70afe78ca6c71d.js:2244:1

Expected behavior

Be able to view root secrets or ask for reauthentication.

Environment:

  • Vault Server Version: 1.3.2
  • Vault CLI Version: 1.3.2
  • Vault UI Browser : Firefox / Chrome
  • Server Operating System/Architecture: Ubuntu x86_64

Additional context

A workaround consists in clearing the localStorage and re-authenticate to be able to use Vault UI as expected.

@Zenithar Zenithar changed the title Vault UI - Got a blank screen when using OIDC authentication Vault UI - Sometime got a blank screen when using OIDC authentication Feb 18, 2020
@spangenberg spangenberg added bug Used to indicate a potential bug ui labels Feb 20, 2020
@grantslape
Copy link

Possibly related to #7349 ? We experience the same issue using userpass on token renewal.

@djvs
Copy link
Contributor

djvs commented Oct 6, 2020

n&&n.policies.includes("root")&&e.removeTokenData(t)})},authenticate:function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,s,r,l=arguments

n.policies is null here. Pretty annoying bug.

@heatherezell heatherezell added the community-sentiment Tracking high-profile issues from the community label Jan 14, 2022
@hashishaw
Copy link
Contributor

Apologies for the late response -- this was fixed as of #9467!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug community-sentiment Tracking high-profile issues from the community ui
Projects
None yet
Development

No branches or pull requests

6 participants