Skip to content

Commit

Permalink
Keycloak errors out with invlid url if angular appends its state sear…
Browse files Browse the repository at this point in the history
…ch params
  • Loading branch information
bastjan committed Mar 30, 2022
1 parent 02cc780 commit 2ea3c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2ea3c26

Please sign in to comment.