Password Reset Link?

I’m trying to set a link for a “Forgot Password” link on my page.

In the default Univeral Login => “login” template when I click the “Forgot Password?” link it takes me to the page:

https://my-custom-domain.auth0.com/u/reset-password/request/Username-Password-Authentication?state=hKFo2SBFTzV0YXlCdE9BOW1RMGtLcnM0RE5UakFPRExJZzlCeaFur3VuaXZlcnNhbC1sb2dpbqN0aWTZIHFhV29rV0lKb1Eyc2tJVkdXS0FsUVVTVGVrX0E4UEJCo2NpZNkgUFg4eEcwOGRqOWRvNUVYaHhweU1NbWVxMGVZYlpld0M

However, when I try to create this myself it doesn’t work and for some reason redirects me back to the app:

document.getElementById('link-password-reset').href = config.authorizationServer.url + '/u/reset-password/request/Username-Password-Authentication?state=' + config.extraParams.state;

It’s literally the exact same link except for the state param value, but not sure what the issue is and why this wouldn’t work when I do a custom Login page?

Hi @websanova,

This is not currently supported with New Universal Login. Although we do have this feature request you can vote for.

If you are creating a custom login page, you can use the Auth0 API’s to create a custom password reset page. The process is documented here: Change Users' Passwords.

Hope that helps!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.