Hello,
i have declared a custom scope 'testScope'
cas.authn.oidc.userDefinedScopes.testScope=preferred_username,email,uid,id,name,family_name,given_name
added it to the scopes
cas.authn.oidc.scopes=openid,profile,email,address,phone,offline_access,testScope
and getting error:
2017-09-05 08:32:12,281 WARN [org.apereo.cas.oidc.web.controllers.OidcAuthorizeEndpointController] - <Provided scopes [[testScope]] are undefined by OpenID Connect, which requires that scope [openid] MUST be specified, or the behavior is unspecified. CAS MAY allow this request to be processed for now.>
Don't know why, need help.
I have declared a custom claim for an ID.
What is also a principal attribute on my auth sources and is listed in my custom scope.
Also in the list of default attributes to release:
cas.authn.attributeRepository.defaultAttributesToRelease=mail,uid,id,displayName,firstName,lastName
Added it to the claims list:
cas.authn.oidc.claims=sub,name,preferred_username,family_name, \
given_name,middle_name,profile, \
picture,nickname,website,zoneinfo,locale,updated_at,birthdate, \
email,email_verified,phone_number,phone_number_verified,address, \
id
I see 'id' in the userinfo_endpoint (profile), but i want to get it in the id_token with the rest.
--
Sándor Juhász
System Administrator
ChemAxon Ltd.
Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031