# Password reset and then login sends invalid callback url

**URL:** <https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746>\
**Category:** Get Help\
**Tags:** lock\
**Created:** [November 9, 2018, 4:54am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746 "2018-11-09T04:54:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnarmstrong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johnarmstrong/32/8496_2.png) [@johnarmstrong](https://community.auth0.com/u/johnarmstrong)\
**Post date:** [November 9, 2018, 4:54am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/1 "2018-11-09T04:54:56Z")

</div>

We just went live with a new tenant and we are seeing behavior where the password reset form sends the wrong callback url.

**Steps to reproduce**

1. Press reset password link, auth0 lock pops up in reset mode
2. Enter address, press send email, banner turns green and waits for login
3. in another browser complete the process.
4. Come back to original window and type in your new password, press login
5. Invalid callback url. Our callback url is [Worldly](https://portal.higg.org/login) but its always sending [https://portal.higg.org](https://portal.higg.org) and users get the invalid callback screen.

As a temporary workaround we have added the base path to our callback urls. At least then users are not getting an error screen ,just some frustration when they have to click login again.

Are we configuring this wrong?  
Tx!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 9, 2018, 9:40am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/3 "2018-11-09T09:40:03Z")

</div>

Hey there @johnarmstrong

Could you go through the flow again and DM me with the HAR file + your tentant name so I can investigate it further?

Here’s some documentation when troubleshooting with a HAR file:

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![johnarmstrong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johnarmstrong/32/8496_2.png) [@johnarmstrong](https://community.auth0.com/u/johnarmstrong)\
**Post date:** [November 12, 2018, 3:50pm UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/4 "2018-11-12T15:50:30Z")

</div>

Hi Konrad, Tenant name is production-higg. Links to files:

HAR: [portal.higg.org.har - Google Drive](https://drive.google.com/file/d/1VKrADZMKQV1qGuEiZycSMTmr-kr1fZw3/view?usp=sharing)  
Demo video: [password\_reset\_callback\_url.mp4 - Google Drive](https://drive.google.com/file/d/15Pbp_eUWeFEVMCDHVxAdNzUCX6c14NDc/view?usp=sharing)

Tx!  
J

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 7, 2018, 8:38am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/5 "2018-12-07T08:38:38Z")

</div>

Hey @johnarmstrong sorry for my delay in response. Totally understand what you mean with the video however the HAR file doesn’t provide us with much info. Have you performed all the actions presented in the video before pulling out the HAR file?

I’ll try to reproduce the issue and get back to you with information!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 7, 2018, 9:42am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/6 "2018-12-07T09:42:25Z")

</div>

However that’s probably what you were looking for @johnarmstrong:

> **[Customize Email Templates](https://auth0.com/docs/customize/email/email-templates)**
>
> Learn how to customize your emails with Liquid templating syntax.

The field name is `Redirect To`

Let me know if that helps!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 10, 2018, 12:53pm UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/7 "2018-12-10T12:53:59Z")

</div>

You can redirect users to a specific page on the **Allowed Callback URL** using the following:

```auto
{application.callback_domain}/result_page

```

If your application has **multiple Allowed Callback URLs** configured, **Auth0 will use the first URL listed.**

---

<div class="post-metadata">

**Author:** ![johnarmstrong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johnarmstrong/32/8496_2.png) [@johnarmstrong](https://community.auth0.com/u/johnarmstrong)\
**Post date:** [December 12, 2018, 1:19am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/8 "2018-12-12T01:19:37Z")

</div>

Yup, that fixed it. So in this case ‘reset password’ uses ‘email redirectTo’ parameter when logging in after requesting a reset. This was confusing for me since its clear the the parameters in the email screen refer to the email and not a web-based flow. But since all password resets are email based I get how they are related now.

Fixed and great, thank you Konrad for chasing this one down for me!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 12, 2018, 11:59am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/9 "2018-12-12T11:59:00Z")

</div>

Glad we made it work!

---

<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:** [January 11, 2019, 11:59am UTC](https://community.auth0.com/t/password-reset-and-then-login-sends-invalid-callback-url/17746/10 "2019-01-11T11:59:02Z")

</div>

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