Skip to content

Commit

Permalink
Add protocol mapper for adding data_access_role to user token (#5)
Browse files Browse the repository at this point in the history
* change trigger

* add protocol mapper for data access role
  • Loading branch information
raspreet-vunet authored Aug 12, 2024
1 parent a1b4f7a commit 6617634
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions quarkus/container/vunet/provisioning/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -1863,6 +1863,22 @@
"access.token.claim": "true",
"claim.name": "privilege"
}
},
{
"id": "8ffde2e5-faef-4b16-9a47-7a6ab4c0f0c4",
"name": "Data Access Role",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-attribute-mapper",
"consentRequired": false,
"config": {
"introspection.token.claim": "true",
"userinfo.token.claim": "true",
"user.attribute": "data_access_role",
"id.token.claim": "true",
"access.token.claim": "true",
"claim.name": "data_access_role",
"jsonType.label": "String"
}
}
]
},
Expand Down

0 comments on commit 6617634

Please sign in to comment.