The current WebAPI v3 references 2 methods of password reset:
- the account based 'Send reset password email' at https://api.cryptlex.com/v3/accounts/reset-password-request ( API Link )
- the user based 'Reset Password' at https://api.cryptlex.com/v3/users/{id}/reset-password ( API Link )
I have some concerns/queries.
The Send reset password email is easy to work with, however the issue lies in that the email is out of my control. Users may find an account reset email from Cryptlex confusing when resetting the password on a Web Portal branded for my products.
Ideally I’d like to use the user based Reset Password API, however it requires a password reset token. I can not find an API I can call to retrieve one. My assumption was that I’d generate a personal access token with that ability temporarily, use it and delete it immediately, or that there should exist an API endpoint that generates one, which I can use to generate a temporary URL that can be emailed to the user. However neither of these seem to be the case as I can not find an API call that will return a reset token, and even a Personal Access Token with full access is rejected by the reset password API call as invalid.
Can you advise on how I can go about generating a valid reset token so that I can make use of the User based reset?