From 3dbd9e44f1940cdd0f403acdeda8372d9baaba07 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 16 Sep 2026 10:55:31 +0200 Subject: [PATCH] Fix OIDC discovery with trailing slash --- apps/api/src/app/auth/oidc.helper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/app/auth/oidc.helper.ts b/apps/api/src/app/auth/oidc.helper.ts index 0b04f1a806..4e8de829fc 100644 --- a/apps/api/src/app/auth/oidc.helper.ts +++ b/apps/api/src/app/auth/oidc.helper.ts @@ -1,3 +1,4 @@ export function getOidcDiscoveryUrl(issuer: string) { + // Remove trailing slashes return `${issuer.replace(/\/+$/, '')}/.well-known/openid-configuration`; }