Introduction
Problem
JWT authentication for Vault / Gitlab integration fails with:
error validating token: error verifying token signature: fetching keys oidc: get keys failed: 404 Not Found
Prerequisites (if applicable)
- Vault JWT Auth method
Cause and Solution:
- GitLab has deprecated the /-/jwks endpoint
- Please see the GitLab documentation which details the deprecation and replacement endpoint.
Outcome
Upon updating the JWT Auth config to the new URL, authentications should resume normal successful function.