<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007D9pSeCAJOkta Classic EngineSingle Sign-OnAnswered2021-10-03T09:15:36.000Z2021-09-29T13:08:52.000Z2021-10-03T09:15:36.000Z
OKTA OIDC - Attribute Mapping for title, samAccountName/employeeNumber - (AWS Cognito Attribute Mapping)

Hi,

 

We are trying to utilize Okta OIDC App using 3rd party (AWS Cognito) to leverage authentication for our application. We configured Cognito attribute mapping to retrieve id_token, access_token, given_name, email, family_name from OKTA. But we also need other attributes like title, samAccountName / employeeNumber and the groups that user has been assigned in OKTA. Using attribute mapping we are unable to get those three attribute details. So tried userinfo endpoint to fetch the details. Still I am not seeing title, samAccountName / employeeNumber or the groups in userinfo response. Below is the response of userinfo.

 

Please let know how to fetch these 3 values.

 

{

  "sub": "XXXXXXXXXXXXXXXXXXX",

  "name": "Sriram Ravi",

  "locale": "en-US",

  "email": "XXXXX@XXXXXXXX.com",

  "preferred_username": "XXXXX@XXXXXXXX.com",

  "given_name": "Sriram",

  "family_name": "Ravi",

  "zoneinfo": "America/Los_Angeles",

  "updated_at": 123456789,

  "email_verified": true

}

 

Thanks,

Sriram


  • isthatDinu (Okta, Inc.)

    Hi Sriram,

     

    This is Marius with Okta support. I would strongly suggest opening up a support ticket with us as this requires thorough investigation from our API Access Managemet team.

     

    Thank you,

    Marius Dinu

    Okta T2 TSE

    Expand Post
This question is closed.
Loading
OKTA OIDC - Attribute Mapping for title, samAccountName/employeeNumber - (AWS Cognito Attribute Mapping)