From e6588d6b8a9fcf80c28910de526cf5d056a08f7f Mon Sep 17 00:00:00 2001 From: Simen Rekkedal <61084786+simen-rekkedal@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:20:39 +0200 Subject: [PATCH] init (#236) * init * base address --- .../UserProfiles/UserProfileClient.cs | 2 ++ .../Altinn.Authentication.UI/appsettings.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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