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

application.resetPassword clears custom user data #1353

Closed
brussellc5 opened this issue Aug 21, 2017 · 1 comment
Closed

application.resetPassword clears custom user data #1353

brussellc5 opened this issue Aug 21, 2017 · 1 comment

Comments

@brussellc5
Copy link

Reproduced in branch 2.0.1-okta

Steps to reproduce:
Create a user with any custom data
Use application.resetPassword
Note that all custom data has been cleared from the user account

The problem seems to stem from the DefaultDataStore.save method defined on line 445 of impl.ds.DefaultDataStore:
476: // if this is an Okta CRUD operation, we must use a PUT and not a POST

The docs state that a POST shuld be used to perform a partial update, not a PUT:
https://developer.okta.com/docs/api/resources/users.html#update-user

@brussellc5
Copy link
Author

See #1354

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