# Password Reset Redirect ( .Net management sdk )

**URL:** <https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651>\
**Category:** Get Help\
**Tags:** tickets, management-api\
**Created:** [March 27, 2024, 6:51pm UTC](https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651 "2024-03-27T18:51:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstam](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cstam/32/48764_2.png) [@cstam](https://community.auth0.com/u/cstam)\
**Post date:** [March 27, 2024, 6:51pm UTC](https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651/1 "2024-03-27T18:51:39Z")

</div>

So in our application we have some logic to invite a user. In order to accomplish this, we create a user via the Management API and then send the user a link to reset their password. Here is the code snippet:

```auto
public async Task<string> GetPasswordResetLinkAsync(string userId)
{
    var token = await _auth0ManagementAPITokenManager.GetAccessTokenAsync();
    var management = new ManagementApiClient(token, new Uri($"https://{_auth0managementAPIConfiguration.Domain}{UriConstants.ApiEndpoint}"));
    var passwordResetLink = await management.Tickets.CreatePasswordChangeTicketAsync(new PasswordChangeTicketRequest
    {
        UserId = userId,
        ResultUrl = "xxx"
    });
    return passwordResetLink.Value;
}

```

I am using our prod domain instead of “xxx”, however once I follow the link ( sent via email ), and reset my password it does not redirect to our prod domain. Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![pawel.lipka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pawel.lipka/32/60368_2.png) [@pawel.lipka](https://community.auth0.com/u/pawel.lipka)\
**Post date:** [February 4, 2025, 5:35pm UTC](https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651/2 "2025-02-04T17:35:40Z")

</div>

Have you resolved this? I have same issue.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [February 25, 2025, 8:45pm UTC](https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651/3 "2025-02-25T20:45:53Z")

</div>

Hi @cstam,

As mentioned in this [post](https://community.auth0.com/t/redirect-result-url-in-change-password-ticket-not-working/26141/8) if you’re using the Classic Login Experience it should work fine, otherwise, if using the New Universal Login Experience, the redirect link will be ignored.

You can find more information about this here:

> **[Universal Login Experience](https://auth0.com/docs/authenticate/login/auth0-universal-login/universal-login-vs-classic-login/universal-experience#password-reset)**
>
> An overview of the Universal Login experience

If you have any other questions feel free to ask.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 11, 2025, 8:45pm UTC](https://community.auth0.com/t/password-reset-redirect-net-management-sdk/130651/4 "2025-03-11T20:45:56Z")

</div>

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