vault
vault copied to clipboard
404 Link after unseal
Describe the bug 404 Link after unseal
To Reproduce
- open gui and give portion of unseal key. stay on gui
- other person unseals vault
- a page appears "Vault is unsealed
Please wait while we redirect you."
- the link below (continue to log in) this message points to
domain.tld/ui/1/auth-> throws 404 error (the http redirect is correct, after seconds you are redirected todomain.tld/ui/vault/auth?redirect_to=%2Fvault%2Funseal)
Expected behavior
- the link should not end in 404
Environment:
- Vault Server Version (retrieve with
vault status): 1.20.4 - Vault CLI Version (retrieve with
vault version): v1.20.4 - Server Operating System/Architecture: Ubuntu 22.04
Vault server configuration file(s):
# Paste your Vault config here.
# Be sure to scrub any sensitive values
Additional context Add any other context about the problem here.
I tried to reproduce the bug in the latest version of Vault (running in dev mode).
Steps to reproduce:
- I installed vault using brew.
- Seal the vault.
- Navigate to the login page which prompts for the unseal key
- Now other person will unseal the vault.
Expected behavior:
- After unsealing, I should see the "Vault is unsealed. Please wait while we redirect you." page before being redirected to the authentication page.
Actual behavior:
- The intermediate "Vault is unsealed" page is not displayed at all. Instead, I'm immediately shown the token authentication page without any transition message.
Environment:
Running Vault in dev mode
Version: Vault v1.20.4
OS: MacOS
Please let me know if I missed something.