Api service now uses same keycloak url that synapse

This commit is contained in:
2021-04-23 13:09:13 +02:00
parent c80df04f90
commit dec3c88f82

View File

@@ -6,7 +6,7 @@ import { TRAVEL_API_URL, USER_API_URL } from '../app.config';
export function configureAuth(oidcConfigService: OidcConfigService): () => Promise<any> {
return () =>
oidcConfigService.withConfig({
stsServer: 'http://localhost:8080/auth/realms/okupamicoche',
stsServer: 'https://okupamicoche-keycloak:8443/auth/realms/okupamicoche',
redirectUrl: window.location.origin,
postLogoutRedirectUri: window.location.origin,
clientId: 'okupamicoche-frontend-angular',