diff --git a/.changeset/violet-donuts-press.md b/.changeset/violet-donuts-press.md new file mode 100644 index 0000000000..2fb08f28e7 --- /dev/null +++ b/.changeset/violet-donuts-press.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-auth-backend': patch +--- + +Change the JWKS url value for the oidc configuration endpoint diff --git a/plugins/auth-backend/src/identity/router.ts b/plugins/auth-backend/src/identity/router.ts index de05e8a06c..2ddde31b22 100644 --- a/plugins/auth-backend/src/identity/router.ts +++ b/plugins/auth-backend/src/identity/router.ts @@ -31,7 +31,7 @@ export function createOidcRouter(options: Options) { issuer: baseUrl, token_endpoint: `${baseUrl}/v1/token`, userinfo_endpoint: `${baseUrl}/v1/userinfo`, - jwks_uri: `${baseUrl}/v1/certs`, + jwks_uri: `${baseUrl}/.well-known/jwks.json`, response_types_supported: ['id_token'], subject_types_supported: ['public'], id_token_signing_alg_values_supported: ['RS256'],