Skip to content

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #26396 to be assessed for backporting due to the inclusion of the label backport/1.16.x.

The below text is copied from the body of the original PR.


Previously, when logging in with a batch type token the UI would suddenly stop working with a permissions error when the batch token expires. This PR allows the UI to know when the batch token will expire and show the token expired warning when it does.

Testing steps

  • Create a batch token with a short TTL vault token create -type=batch -ttl=30s
  • Log into the GUI with the returned token
  • Wait for the TTL amount of time
  • See that the GUI shows the same token expired banner as when a service type token expires

Before and after
GUI before (left) and after (right)

batch-expire


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/ui/VAULT-24873/batch-token-expiry-banner/admittedly-innocent-manatee branch from 5cb60ab to b41913c Compare April 15, 2024 21:04
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Apr 15, 2024
@hashishaw hashishaw added this to the 1.16.2 milestone Apr 15, 2024
@hashishaw hashishaw enabled auto-merge (squash) April 15, 2024 21:06
Copy link

Build Results:
All builds succeeded! ✅

Copy link

CI Results:
All Go tests succeeded! ✅

@hashishaw hashishaw merged commit d546d07 into release/1.16.x Apr 15, 2024
@hashishaw hashishaw deleted the backport/ui/VAULT-24873/batch-token-expiry-banner/admittedly-innocent-manatee branch April 15, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants