-
Notifications
You must be signed in to change notification settings - Fork 62
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
oidc login failes with wrap-ttl flag set #312
Comments
This appears on latest vault as well:
|
For people looking to work around this you can force the token to wrap itself by using renew
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When making login calls for oidc adding ex:
-wrap-ttl=5m
to the command causes the following failureError
Appears to originate here: https://github.com/hashicorp/vault-plugin-auth-jwt/blob/release/vault-1.16.x/cli.go#L234, my guess is that the wrapped token doesn't have an auth url because it's wrapping an earlier reponse.
cli version
Background (probably unrelated to this plugin)
My intent was to open vault ui with a wrapped token saving users from copying and pasting the token i.e.:
/ui/vault/auth?with=token&wrapped_token=${wrapped_token}
.I couldn't find any documentation on how to wrap an oidc token via say curl requests for oidc to allow manually fetching the token and opening the ui directly with The jwt version of this is:
but oidc equivilents don't seem to work.
The text was updated successfully, but these errors were encountered: