From 08fb49a001bf37d7416aa32ade3650ad056edad7 Mon Sep 17 00:00:00 2001 From: joel Date: Tue, 24 Dec 2024 09:50:47 -0800 Subject: [PATCH] fix(kcd): openid client is more strict now --- .../src/app/oauth/.well-known/openid-configuration/route.ts | 2 +- .../src/app/oauth/.well-known/openid-configuration/route.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/epic-react/src/app/oauth/.well-known/openid-configuration/route.ts b/apps/epic-react/src/app/oauth/.well-known/openid-configuration/route.ts index cdef9e112f..e67d8a52f2 100644 --- a/apps/epic-react/src/app/oauth/.well-known/openid-configuration/route.ts +++ b/apps/epic-react/src/app/oauth/.well-known/openid-configuration/route.ts @@ -6,7 +6,7 @@ export async function GET() { token_endpoint_auth_methods_supported: [], response_types_supported: ['token'], scopes_supported: ['content:read', 'progress'], - issuer: `${process.env.NEXT_PUBLIC_URL}`, + issuer: `${process.env.NEXT_PUBLIC_URL}/oauth`, registration_endpoint: `${process.env.NEXT_PUBLIC_URL}/oauth/register`, device_authorization_endpoint: `${process.env.NEXT_PUBLIC_URL}/oauth/device/code`, claims_supported: ['email'], diff --git a/apps/epic-web/src/app/oauth/.well-known/openid-configuration/route.ts b/apps/epic-web/src/app/oauth/.well-known/openid-configuration/route.ts index cdef9e112f..e67d8a52f2 100644 --- a/apps/epic-web/src/app/oauth/.well-known/openid-configuration/route.ts +++ b/apps/epic-web/src/app/oauth/.well-known/openid-configuration/route.ts @@ -6,7 +6,7 @@ export async function GET() { token_endpoint_auth_methods_supported: [], response_types_supported: ['token'], scopes_supported: ['content:read', 'progress'], - issuer: `${process.env.NEXT_PUBLIC_URL}`, + issuer: `${process.env.NEXT_PUBLIC_URL}/oauth`, registration_endpoint: `${process.env.NEXT_PUBLIC_URL}/oauth/register`, device_authorization_endpoint: `${process.env.NEXT_PUBLIC_URL}/oauth/device/code`, claims_supported: ['email'],