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?