From 04bec3ce6dd5fc811480185c8a4069568774a586 Mon Sep 17 00:00:00 2001 From: Eneko Date: Thu, 29 Apr 2021 13:12:55 +0200 Subject: [PATCH] Finally login works flawlessly! --- src/app/auth/auth-config.module.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/auth/auth-config.module.ts b/src/app/auth/auth-config.module.ts index 8346827..b4c4639 100644 --- a/src/app/auth/auth-config.module.ts +++ b/src/app/auth/auth-config.module.ts @@ -6,8 +6,7 @@ import { TRAVEL_API_URL, USER_API_URL } from '../app.config'; export function configureAuth(oidcConfigService: OidcConfigService): () => Promise { return () => oidcConfigService.withConfig({ - stsServer: 'http://okupamicoche-keycloak:8080/auth/realms/okupamicoche', - // stsServer: 'https://okupamicoche-keycloak:8443/auth/realms/okupamicoche', + stsServer: 'https://okupamicoche-keycloak:8443/auth/realms/okupamicoche', redirectUrl: window.location.origin, postLogoutRedirectUri: window.location.origin, clientId: 'okupamicoche-frontend-angular',