diff --git a/src/Altinn.Correspondence.Integrations/Altinn/Authorization/AltinnAuthorizationService.cs b/src/Altinn.Correspondence.Integrations/Altinn/Authorization/AltinnAuthorizationService.cs index 9b9ff29b..2e7e6ba3 100644 --- a/src/Altinn.Correspondence.Integrations/Altinn/Authorization/AltinnAuthorizationService.cs +++ b/src/Altinn.Correspondence.Integrations/Altinn/Authorization/AltinnAuthorizationService.cs @@ -168,6 +168,10 @@ private bool ValidateAuthorizationResponse(XacmlJsonResponse response, ClaimsPri { return IdportenXacmlMapper.ValidateIdportenAuthorizationResponse(response, user); } + if (personIdClaim?.Issuer == _dialogportenSettings.Issuer) + { + return DialogTokenXacmlMapper.ValidateDialogportenResult(response, user); + } foreach (var decision in response.Response) { var result = DecisionHelper.ValidateDecisionResult(decision, user);