auth0.js
auth0.js copied to clipboard
Arkose: run() not reset() on repeat attempts to authenticate
Changes
Calling reset()
instead of run()
on the Arkose provider object breaks callbacks which prevents repeat authentication attempts with the same Auth0.js object. It now calls run()
instead of reset()
.
Side note: As a customer, I found the JSDocs and Auth0 Docs rather lacking while trying to debug this issue. Parameters aren't present, just
<optional>
which is extraordinarily frustrating. There is also no information about behaviour, scope, or parameters in regards totriggerCaptcha()
.
Checklist
- [x] I have read the Auth0 general contribution guidelines
- [x] I have read the Auth0 Code of Conduct
- [x] All tests and linters described in the Develop section run without errors