Setting OIDC profile details during dynamic registration

44 views
Skip to first unread message

Anthony Heng

unread,
Apr 18, 2026, 7:34:05 AM (2 days ago) Apr 18
to CAS Community
Hi,
I am looking to set OIDC profile attributes on dynamic registration (as per https://datatracker.ietf.org/doc/html/rfc7591) however I can't seem to find anyway to set the attributes during dynamic registration. I am doing the following:
1. In protected mode, obtain the initial access token via /oidc/initToken with the configured credentials to do so
2.  With the inital access token, a POST request to /oidc/register with the body containing the required client details, scope (which includes the attributes I want to send) and additional fields representing the attributes
  • I have also tried having an additional attributes field, with the required attributes
3. With the obtained client ID and client secret from /oidc/register, use them to obtain an access token from /oidc/accessToken
4. Obtain profile information from /oidc/profile, in which the attributes field is completely empty. 

What is the intended way to set these profile attributes for dynamically registered clients?

Thanks,

Anthony Heng

Reply all
Reply to author
Forward
0 new messages