Redirect user back to app after successful password change

I would like to do something like this, but the api.redirect is undefined in the password-change flow. Could this please be added?

exports.onExecutePostChangePassword = async (event, api) => {
api.redirect.sendUserTo(event.request.hostname);
 }

Hi @kav.khalsa,

Welcome back to the Auth0 Community!

Can you please add a Feature Request for this?

Thanks!

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