Map OAuth2 Attribute to Multiple OpenAM Attributes?

This topic has 0 replies, 1 voice, and was last updated 6 years, 6 months ago by andyr.

  • Author
    Posts
  • #6796
     andyr
    Participant

    Hi

    Is it possible to map a single attribute returned from OAuth2 to multiple attributes within OpenAM? I’ve read these may be stored in a hash table so this may be causing an issue with unique keys, so is the only way to achieve this to use a custom attribute mapper class?

    Basically, we are trying to create accounts from social logins using OAuth2 and set the uid and mail attribute to the email address returned from Facebook etc.

    The main reason for doing this is so users can login with their more user friendly email address as their username. So perhaps this would be better to simply let the uid be stored as the id returned from OAuth2, and instead adjust the LDAP authentication to add the mail attribute to the list of attributes to search for an authenticated user?

    Any adivce appreciated.

Viewing 1 post (of 1 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?