From 2563158a210e0c4020d6443c44fe1cbb71a3a754 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Fri, 27 Dec 2024 00:29:47 +0800 Subject: [PATCH] Update authConfig.ts --- src/app/shared/authConfig.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/shared/authConfig.ts b/src/app/shared/authConfig.ts index aef27a7..1c05de0 100644 --- a/src/app/shared/authConfig.ts +++ b/src/app/shared/authConfig.ts @@ -6,8 +6,9 @@ export const authCodeFlowConfig: AuthConfig = { issuer: 'https://id.weihanli.xyz', // URL of the SPA to redirect the user to after login - redirectUri: window.location.origin + '/zh/account/callback', + // redirectUri: window.location.origin + '/zh/account/callback', // redirectUri: 'http://localhost:4200' + '/account/callback', + redirectUri: 'https://reservation-client.weihanli.xyz/zh' + '/account/callback', // The SPA's id. The SPA is registerd with this id at the auth-server // clientId: 'server.code',