-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the resetPasswordUsingToken Feature #22
Labels
enhancement
New feature or request
Comments
4 tasks
Functions exposed by this feature
One side note: We want to take the userId in and not the email because, we do not want to have a pause in the core if the email doesn't exist since if we have it there, then the output would also need to generate a fake token.. which is strange.
|
APIs implemented by this featureSend reset password email
Reset password APIhttps://github.com/supertokens/frontend-driver-interface/blob/master/v1.3.0.md#reset-password
|
Config given to initresetPasswordUsingTokenFeature: {
disableDefaultImplementation: true,
getResetPasswordURL: (user: {id: string, email: string}) => Promise<string> // should return the URL without the token
createAndSendCustomEmail: (user: {id: string, email: string}, passwordResetURLWithToken) => Promise<void>,
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
init
function as explained in this commentThe text was updated successfully, but these errors were encountered: