oidc-server-mock
oidc-server-mock copied to clipboard
Include claims into the JWT
Hi, is it possible to include claims directly in the JWT. I have a list of claims for users:
[{
"SubjectId": "user-id",
"Username": "user",
"Password": "password",
"Claims": [
{
"Type": "given_name",
"Value": "User",
"ValueType": "string"
},
{
"Type": "preferred_username",
"Value": "[email protected]",
"ValueType": "string"
},
{
"Type": "email",
"Value": "[email protected]",
"ValueType": "string"
}
]
I'd like to configure the server so that the claims are in the JWT when I decode it. Is it possible to do that?