diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 918cb504..60e4ef57 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -116,7 +116,7 @@ export function initializeAppFactory( } export const authCodeFlowConfig: AuthConfig = { - redirectUri: window.location.href, + redirectUri: window.location.origin + window.location.pathname, responseType: 'code', scope: 'openid profile email roles offline_access web-origins', showDebugInformation: !environment.production,