404 when attempting to pull JWKS from https://gitlab.com/-/jwks

Problem to solve

404 when attempting to pull JWKS from https://gitlab.com/-/jwks
Able to get to https://gitlab.com/oauth/discovery/keys however.

Steps to reproduce

Point browser or curl https://gitlab.com/-/jwks and https://gitlab.com/oauth/discovery/keys
(1st one nets 404, 2nd works ok)

Versions

Please select whether options apply, and add the version information.

https://gitlab.com/gitlab-org/gitlab/-/issues/221031a

Am facing the same issue! The last time I had it working was ~ 4 months back…is there an alternative JWT URL that can be used?

typo in the link above - should be without the trailing ‘a’

@vineethbDevops - point to the URL at https://gitlab.com/oauth/discovery/keys (the old …/~/jwks endpoint was apparently an alias)

This is also given in the OIDC well-known endpoint:

https://gitlab.com/.well-known/openid-configuration

^^ search there for jwks_uri