Update endpoint and add API to get password reset challenge by srijonsaha · Pull Request #1431 · auth0/auth0.js
Changes
Updated endpoint to /dbconnections/change_password/challenge based on PR feedback. Introduced an API to get the password reset challenge if auth0.js is being used directly. Refactored the captcha.js file to make it easier for future changes.
References
https://auth0team.atlassian.net/browse/IAMRISK-3339
Testing
Tested by rendering the various captchas and going through the different captcha policy combinations. Example test video:
testing.mov
- This change adds unit test coverage
- This change adds integration test coverage
Checklist
- I have read the Auth0 general contribution guidelines
- I have read the Auth0 Code of Conduct
- All tests and linters described in the Develop section run without errors