Summary
This is a feature request to add a scope such as update:current_user
for which an accessToken
could be requested via Auth0.js
to allow a logged-in user to initiate the resending of the email verification email, i.e. to call the /api/v2/jobs/email-verification
endpoint.
Rationale
Currently, sending an email verification email requires scope update:users
, which in turn requires setting up a machine-to-machine app that can access the Management API. However, since it is already possible to get an accessToken
to allow the currently logged in user to update their own metadata using Auth0.js
, I was wondering if it might be possible to add a scope like update:current_user
for which an accessToken
could be requested via Auth0.js
to allow a logged-in user to initiate the resending of the email verification email.
If this could be implemented I’d be willing and happy to submit a pull request to the Auth0.js
library to add a function for doing this.
Thanks for considering!!!
Morgan