# Create new password change ticket mgmt api (python sdk) no redirect generated using client\_id

**URL:** <https://community.auth0.com/t/create-new-password-change-ticket-mgmt-api-python-sdk-no-redirect-generated-using-client-id/59525>\
**Category:** Get Help\
**Tags:** ticket, python, management-api\
**Created:** [March 16, 2021, 5:09pm UTC](https://community.auth0.com/t/create-new-password-change-ticket-mgmt-api-python-sdk-no-redirect-generated-using-client-id/59525 "2021-03-16T17:09:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/davis/32/27512_2.png) [@Davis](https://community.auth0.com/u/Davis)\
**Post date:** [March 16, 2021, 5:09pm UTC](https://community.auth0.com/t/create-new-password-change-ticket-mgmt-api-python-sdk-no-redirect-generated-using-client-id/59525/1 "2021-03-16T17:09:36Z")

</div>

Hello,

We are using the python management sdk to generate a new password ticket for our invite-only application. Per the documentation [instructions](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change), we pass in the client\_id to force a redirect to the default login route of our application. Unfortunately, no redirect is occurring … When the new user creates a password the page does not auto-redirect. Please see the code snipit and details below

- **Which SDK this is regarding:** e.g. Python
- **SDK Version:** auth0-python==3.14.0
- **Platform Version:** Python 3.8
- **Login Experience:** New Universal Login
- **Code Snippet:**  
resp\_url = auth0.tickets.create\_pswd\_change({ “user\_id”: user\_id, "client\_id: client\_id})

Any help would be greatly appreciated. Thank you in advance!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 22, 2021, 2:00pm UTC](https://community.auth0.com/t/create-new-password-change-ticket-mgmt-api-python-sdk-no-redirect-generated-using-client-id/59525/3 "2021-03-22T14:00:58Z")

</div>

Hi @Davis,

If you are using classic universal login you will need to pass a `result_url` with the request. (i.e. `"result_url":"https://example.com"`)

If you are using new universal login then the default login URL will control the redirect.

---

<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:** [April 6, 2021, 2:01pm UTC](https://community.auth0.com/t/create-new-password-change-ticket-mgmt-api-python-sdk-no-redirect-generated-using-client-id/59525/4 "2021-04-06T14:01:44Z")

</div>

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