You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I strongly suspect this is actually a bug with the underlying API, and not the SDK, but okta support directed me here. See my support case.
Partial update requests to update user profile fields are not actually updating the profile fields in Okta. From what I can tell, this is happening when two simultaneous update requests are running for the same user with different profile fields.
Here is a log of a recent case. I logged the User Profile used to make the request and the Profile from the User returned by Okta.
[okta] UPDATE USER -> Start: updating user to
&map[primaryPhone:<redacted user's phone number>]
[okta] UPDATE USER -> Start: updating user to
&map[contactPreference:email]
[okta] UPDATE USER -> Back: updated user
&map[clientDisplayName:Contra Costa County contactPreference:email email:<redacted email> firstName:<redacted> lastName:<redacted> locale:en_US login:<redacted> mobilePhone:<nil> originURL:https://pay-hub.net/ca-contracosta/tax/checkout preferredLanguage:en-US prsId:<redacted> secondEmail:<nil> siteRegisteredFrom:ca-contracosta/tax]
[okta] UPDATE USER -> Back: updated user
&map[clientDisplayName:Contra Costa County contactPreference:email email:<redacted> firstName:<redaccted> lastName:<redacted> locale:en_US login:<redacted> mobilePhone:<nil> originURL:https://pay-hub.net/ca-contracosta/tax/checkout preferredLanguage:en-US prsId:<redacted> secondEmail:<nil> siteRegisteredFrom:ca-contracosta/tax]
See how PrimaryPhone is not even included in either update response.
What is expected to happen?
Each partial update request should successfully update that user attribute in okta and return the current profile, including the newly updated field.
What is the actual behavior?
When two simultaneous partial updates occur, the first update is lost; the updated field is not saved with the user, and the updated field is not returned with the user.
Reproduction Steps?
Call PartialUpdateUser twice, such that the requests overlap. In each request, include one single profile attribute to update, a different attribute for each request. If you have successfully reproduced, the update from the first request will not "stick" and will not be included in the response object.
Note: You may have to do this many times to see a failure case.
Additional Information?
No response
Golang Version
1.15.10
SDK Version
v2.3.0
OS version
No response
The text was updated successfully, but these errors were encountered:
Describe the bug?
I strongly suspect this is actually a bug with the underlying API, and not the SDK, but okta support directed me here. See my support case.
Partial update requests to update user profile fields are not actually updating the profile fields in Okta. From what I can tell, this is happening when two simultaneous update requests are running for the same user with different profile fields.
Here is a log of a recent case. I logged the User Profile used to make the request and the Profile from the User returned by Okta.
See how PrimaryPhone is not even included in either update response.
What is expected to happen?
Each partial update request should successfully update that user attribute in okta and return the current profile, including the newly updated field.
What is the actual behavior?
When two simultaneous partial updates occur, the first update is lost; the updated field is not saved with the user, and the updated field is not returned with the user.
Reproduction Steps?
Call PartialUpdateUser twice, such that the requests overlap. In each request, include one single profile attribute to update, a different attribute for each request. If you have successfully reproduced, the update from the first request will not "stick" and will not be included in the response object.
Note: You may have to do this many times to see a failure case.
Additional Information?
No response
Golang Version
1.15.10
SDK Version
v2.3.0
OS version
No response
The text was updated successfully, but these errors were encountered: