Finally login works flawlessly!

This commit is contained in:
2021-04-29 13:12:55 +02:00
parent 9228270b80
commit 04bec3ce6d

View File

@@ -6,8 +6,7 @@ import { TRAVEL_API_URL, USER_API_URL } from '../app.config';
export function configureAuth(oidcConfigService: OidcConfigService): () => Promise<any> {
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',