service like This:
{
"@class": "org.apereo.cas.services.OidcRegisteredService",
"clientId": "demoOIDC_wsl",
"clientSecret": "xxxxx",
"serviceId": "^(https|http)://localhost/.*",
"signIdToken": true,
"implicit": true,
"bypassApprovalPrompt": false,
"name": "Demo",
"id": 22,
"evaluationOrder": 100,
"encryptIdToken": false,
"scopes": [ "java.util.HashSet",[ "openid", "profile", "email" ]]
}
I would like to define claims in service not like bellow in cas.propierties.
cas.authn.oidc.discovery.scopes=openid,email,profile
cas.authn.oidc.discovery.claims=displayName,mail
I have tested cas.propierties with commened lines:
cas.authn.oidc.discovery.scopes=openid,email,profile
cas.authn.oidc.discovery.claims=displayName,mail
and i add line : claims : ["displayName", "mail" ] to service but it seems it doesnt work.