we are using CAS with OIDC. We have custom attributes that are returned also in the id_token, which works fine. However, when getting the response from the userinfo endpoint at /oidc/oidcProfile, there is just an empty filed "attributes".
What do we have to do to get the attributes from the id_token also in the userinfo endpoint?
oidc:
core:
issuer: "https://{{ CAS_SERVER_NAME }}/cas/oidc"
claims-map:
cn: name
discovery:
grant-types-supported: authorization_code,password,client_credentials,refresh_token
scopes: openid,profile,email,address,phone,eoportal
claims: cn,uid,sub,name,preferred_username,family_name,given_name,middle_name,given_name,profile,picture,nickname,website,zoneinfo,locale,updated_at,birthdate,email,email_verified,phone_number,phone_number_verified,address,gender,role,policy_accepted,has_nrt_license,has_morethan1hr_license,customer_organisation,mail
user-defined-scopes:
eoportal: role,uid
jwks:
core:
jwks-type: RSA
file-system:
jwks-file: file:///etc/cas/oidcJwks/keystore.jwks