Support Create/Update User Authentication Methods (Mgmt API)
phippsnatch opened this issue · 2 comments
phippsnatch commented
Describe the problem you'd like to have solved
To be able to maintain extra login factors, via some of the newly available Management API requests:
- create an authentication method for a given user
- update all authentication methods by replacing them with the given ones
n.b. Similar to this, but for the Management API.
Describe the ideal solution
Would probably be made available on com.auth0.client.mgmt.UsersEntity
(similar to #getEnrollments(String)
)?
Alternatives and current work-arounds
Workaround: can misuse the user import command to set a phone number for SMS factor.
jimmyjames commented
Thanks @phippsnatch! Yes, I see there are some new endpoints related to authentication factors in the Management API. We will work to get these added to v2.
We'll also add support via that PR for the Auth APIs you referenced. Thanks!
jimmyjames commented
This is now available in 2.0.0-beta.1
via #506 🎉