You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ * 'oidc_discovery_url' must be set for OIDC
│
│ with vault_jwt_auth_backend.keycloak["xxx"],
│ on auth_backend_keycloak.tf line 6, in resource "vault_jwt_auth_backend" "keycloak":
│ 6: resource "vault_jwt_auth_backend" "keycloak" {
│
By removing client_id / client_secret we can apply successfully the configuration but of course then it's not working because the jwks_url doesn't provide client_id / client_secret
Tested with vault 1.15.4+ent
The text was updated successfully, but these errors were encountered:
According the the documentation, https://developer.hashicorp.com/vault/api-docs/auth/jwt#configure we can configure a jwt auth backend with one (and only one) of
However, the configuration with
jwks_url
only is not possible when we're using theclient_id
/client_secret
authenticationSetting (terraform):
When trying to apply this configuration, we get:
We can see in the source code here: https://github.com/hashicorp/vault-plugin-auth-jwt/blob/main/path_config.go#L279
that this error appears due to
client_id
being present withoutOIDCDiscoveryURL
By removing
client_id
/client_secret
we can apply successfully the configuration but of course then it's not working because thejwks_url
doesn't provideclient_id
/client_secret
Tested with vault 1.15.4+ent
The text was updated successfully, but these errors were encountered: