The id mapping is working, was a typo somewhere, but the WARN is driving me 
crazy.

On Tuesday, September 5, 2017 at 10:43:47 AM UTC+2, Sandor Juhasz wrote:
>
> 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.
> cas.authn.oidc.claimsMap.id=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
> Cell: +36704258964
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/45d9e952-f021-43d5-825d-b393e4983456%40apereo.org.

Reply via email to