Skip to content

Commit

Permalink
This code seems to have been inadvertently removed in a previous PR, …
Browse files Browse the repository at this point in the history
…breaking Dialogtoken auth (#488)
  • Loading branch information
Ceredron authored Nov 14, 2024
1 parent 932d669 commit acd027f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit acd027f

Please sign in to comment.