Configuring claims in oauth2 userinfo response

This topic has 3 replies, 3 voices, and was last updated 7 years, 1 month ago by redeemer.

  • Author
    Posts
  • #5930
     redeemer
    Participant

    Hi all,

    I am trying to configure OpenAM to get some additional values in …/openam/oauth2/userinfo response.
    Currently I’m getting json:
    {
    “sub”: “c933bf6c-a6b9-4327-9456-adc574acd746”,
    “updated_at”: “1445531015”
    }
    For example I try adding openid and email in the Scope(s) section of oauth2/openid agent configuration.
    I also added request parameter “scope=openid email” to previous URL but with no luck.
    In oauth2 provider service configuration there are this default entries in the Supported Claims section :
    address,phone,profile,openid,email
    Any suggestions why this is not working?

    #5944
     ssripathy
    Participant

    Hi,
    It looks like there have been a few bugs raised related to this feature
    https://bugster.forgerock.org/jira/browse/OPENAM-3433
    Based on the response to that bug, looks like it wasn’t reproducible in AM 12.
    It may help if you can review the logs for any errors related to this and then maybe raise a bug report with specific details on your setup.
    Good luck.

    #5951
     Peter Major
    Moderator

    What happens if you use both “openid” and “profile” scopes?

    #5954
     redeemer
    Participant

    I get the same response like without them

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?