From edac97ec8e0cf0b84f756edab2413f8df4d5e756 Mon Sep 17 00:00:00 2001 From: Marco Zeisler Date: Tue, 4 May 2021 20:15:33 +0200 Subject: [PATCH] fix redirect_uri --- frontend/src/app/component/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/component/login/login.component.ts b/frontend/src/app/component/login/login.component.ts index 7212081..9cf2633 100644 --- a/frontend/src/app/component/login/login.component.ts +++ b/frontend/src/app/component/login/login.component.ts @@ -62,7 +62,7 @@ export class LoginComponent implements OnInit { 'client_id=waecm' + '&response_type=id_token' + '&prompt=consent' + - '&redirect_uri=' + environment.location + + '&redirect_uri=http://' + environment.location + ':' + environment.port + '&scope=openid%20profile' + '&nonce=' + nonce; window.location.replace(url);