Home Forums Web Access Management (SSO and Federation) Oauth2 UserInfo /idp/oauth2/userinfo

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1800
    Aaron Segbedzi
    Participant

    I’ve been trying to add more user attributes (e.g. email, first name etc) to the /idp/oauth2/userinfo response after creating an OAuth authentication provider. Can anyone help?

    #1805
    Dmitry Zaporozhec
    Participant

    You should define Default scopes on the Authentication provider page.
    The ‘Default scopes’ resources with the type ‘OAuth Scope’ will be shown on usefinfo automatically.
    Please don’t forget to wait for 5 minutes to re-cache your changes and retrieve a new token to see the changes.
    The old token is authorized only for the old set of scopes and you will not see the new files in the userinfo response.

    #1822
    Aaron Segbedzi
    Participant

    Okay, it worked. My problem was to revoke the old token, and issue a new one. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.