No redirect after password have been changed from password link

I have tried to read through many of the related posts but it seems like I am missing something basic. Btw sorry about string tags but it seems buggy to search for any tags. I could not find the ones that I see others are using.

I am trying to do an invitation process where I am using the password reset API to trigger an invitation e-mail to the user using the c# sdk like this:

            string? result = await client.ChangePasswordAsync(new ChangePasswordRequest
            {
                ClientId = _auth0BIDefaultAppClientId,
                Connection = "Username-Password-Authentication",
                Email = email
            });

This works fine and the user receives the e-mail.
However I cannot the the redirect for the custom e-mail to work. This is my Redirect To field:
{{ application.callback_domain | default: “MyAppUrl” }}/result_page

I have setup the the Application Login Url on the settings for my application.

But after the user have changed the password it always just get the Auth0 page saying Success.

It feels like I am missing something fundamental in the process. I would expect that I would be redirected to my page after they have entered a correct new password? But maybe I am incorrect about this?

Hi @samuel.wahlberg ,

Welcome to the Auth0 Community!

Redirects after password changes is discussed in this Community article: Why Is Password Change/Reset Redirect Not Working

The flowchart in the article is especially helpful as setting the redirect will depend on a few different factors (New Universal Login or Classic, how you create the password reset ticket, etc).

Could you kindly review that and let me know if you have any additional questions?

Best,

Mary Beth

1 Like

Yes the Flowchart did the trick!

I have been fooled by that the “Try” in the “Email templates” under “Branding” in the dashboard is not using the same flow.

I think that a reference to that flowchart probably could save a lot of headache for more users in the dashboard :slight_smile:

2 Likes

Hi @samuel.wahlberg,

I’m happy to hear that the flowchart helped! I agree - I will pass that feedback along to the team.

Best,

Mary Beth