From 0e7107e2cfa2e463e903d583a3d0f326fd2dfbc0 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`; }