|
|
|
|
@ -6,6 +6,8 @@ import { AUTH_SERVICE } from 'config/routes' |
|
|
|
|
import { ClientIds, ClientNames } from 'config/clients/types' |
|
|
|
|
import { ENV, stageENV } from 'config/env' |
|
|
|
|
|
|
|
|
|
import { API_ROOT } from 'features/AuthServiceApp/config/routes' |
|
|
|
|
|
|
|
|
|
export interface Settings extends UserManagerSettings { |
|
|
|
|
client_id: ClientIds, |
|
|
|
|
lang?: string, |
|
|
|
|
@ -48,7 +50,7 @@ export const getClientSettings = (): Settings => ({ |
|
|
|
|
client_id: client.auth.clientId, |
|
|
|
|
filterProtocolClaims: false, |
|
|
|
|
loadUserInfo: false, |
|
|
|
|
metadataUrl: `${AUTH_SERVICE}/.well-known/openid-configuration${client.auth.metaDataUrlParams || ''}`, |
|
|
|
|
metadataUrl: `${API_ROOT}/.well-known/openid-configuration${client.auth.metaDataUrlParams || ''}`, |
|
|
|
|
redirect_uri: redirectUrl(), |
|
|
|
|
response_mode: 'query', |
|
|
|
|
response_type: 'id_token token', |
|
|
|
|
|