Skip to content

Commit

Permalink
Set user_role to patient in disclosed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
vilaug committed May 2, 2024
1 parent 780dfaa commit 0092b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth/services/patient/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (v validator) VerifyVP(vp vc.VerifiablePresentation, validAt *time.Time) (c
services.UsernameClaim: credentialSubject.Member.Identifier,
// TODO: adjust?
services.AssuranceLevelClaim: "low",
services.UserRoleClaim: "patient",
}

return patientVerificationResult{
Expand Down

0 comments on commit 0092b35

Please sign in to comment.