Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Custom data getting removed when updating/adding other custom data fields #1331

Open
RodrigoQuesadaDev opened this issue May 20, 2017 · 0 comments

Comments

@RodrigoQuesadaDev
Copy link

Hi, I'm currently using the RC1 version of stormpath-okta (and also tested with snapshot) and when I try to update/add a custom data field, the rest of the custom data fields get removed in Okta.

The reason for that is this code over here:

Which causes the request to be sent using the PUT method.

According to the current Okta documentation, the POST method should be used in order to perform partial updates of user's profile (which is what I think the code is trying to achieve when looking at this code that calls the toMap method setting partialUpdate parameter as true): http://developer.okta.com/docs/api/resources/users.html#update-profile

RodrigoQuesadaDev added a commit to RodrigoQuesadaDev/stormpath-sdk-java that referenced this issue May 23, 2017
RodrigoQuesadaDev added a commit to RodrigoQuesadaDev/stormpath-sdk-java that referenced this issue May 23, 2017
RodrigoQuesadaDev added a commit to RodrigoQuesadaDev/stormpath-sdk-java that referenced this issue Aug 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant