diff --git a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Integration/UserProfiles/UserProfileClient.cs b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Integration/UserProfiles/UserProfileClient.cs index 3fdfd04f..d7517092 100644 --- a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Integration/UserProfiles/UserProfileClient.cs +++ b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Integration/UserProfiles/UserProfileClient.cs @@ -39,6 +39,8 @@ public UserProfileClient( IAccessTokenProvider accessTokenProvider) { _logger = logger; + httpClient.BaseAddress = new Uri(_platformSettings!.ApiProfileEndpoint!); + _httpClient = httpClient; _httpClient = httpClient; _httpContextAccessor = httpContextAccessor; _platformSettings = platformSettings.Value; diff --git a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/appsettings.json b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/appsettings.json index 768d747e..3205620d 100644 --- a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/appsettings.json +++ b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/appsettings.json @@ -20,8 +20,8 @@ "SecretUri": "" }, "ClientSettings": { - "Issuer": "amui", - "App": "access-management-ui", + "Issuer": "authn", + "App": "authentication-ui", "CertificateName": "JWTCertificate" } } \ No newline at end of file