<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
0D54z00006xKaiWCASOkta Classic EngineLifecycle ManagementAnswered2024-04-30T09:35:28.000Z2021-05-07T15:10:43.000Z2021-05-12T05:07:53.000Z

DanielC.72545 (Customer) asked a question.

SCIM calls are sending multiple work emails

Problem:

I have configured a SCIM application which is mostly working. However, OKTA sends duplicate entries for primary email and primary phone, both of type "work", sometimes with no value.

 

Use Case:

  1. All users will have a single "Work" email marked as primary
  2. Users will either have a single "Work" phone number marked as primary, or none at all as it's an optional field

 

Expectation:

  1. The PUT (update) SCIM calls should only contain a single element in the array or none at all

 

Flow:

  1. User is created in OKTA with the following attributes: userName, given/family name, and primary work email
  2. The user is assigned to the SCIM application
  3. OKTA calls my SCIM service which provisions the user
  4. A primary phone number is added to the user's profile in OKTA, triggering an update (PUT)
  5. The PUT request has multiple work emails in the emails array and 2 elements in the phoneNumbers array, one of which only has a type but no value. If I had specified the phoneNumber during creation, both phoneNumbers elements would have a value

 

Mappings:

The below mappings are all default and have not been modified

/help/servlet/rtaImage?refid=0EM4z000002FRPl

 

OKTA POST Request (works as expected, the phone number has not been assigned )

/help/servlet/rtaImage?refid=0EM4z000002FRQy

 

OKTA PUT

  • Email has not been updated, but the emails array has 2 elements
  • A single phone number was added to trigger the update. There are two elements in the phoneNumbers array, one with only a type and no value. I assume that's because no phone number was provided during creation.

 

/help/servlet/rtaImage?refid=0EM4z000002FRR3

Any idea why multiple work emails and phoneNumbers are being sent in the SCIM request?

Is this a bug, mapping issue, or something else entirely?


  • iu6qg (iu6qg)

    Hello Daniel,

     

    Thanks for bringing this to our attention. Based on the conditions of the issue and the complexity of the scenario, is not something easy to reproduce in a lab environment and give you a clear answer based on that (at least not without having all the details of the config on your Org). My suggestion would be to open a ticket directly with Okta Support to address this.

     

    Regards

    JD Chacon

    Expand Post
This question is closed.
Loading
SCIM calls are sending multiple work emails