# Auth0 is redirecting the user to the wrong URL

**URL:** <https://community.auth0.com/t/auth0-is-redirecting-the-user-to-the-wrong-url/149459>\
**Category:** Get Help\
**Tags:** application, sso\
**Created:** [October 9, 2024, 8:19am UTC](https://community.auth0.com/t/auth0-is-redirecting-the-user-to-the-wrong-url/149459 "2024-10-09T08:19:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qa1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/qa1/32/61303_2.png) [@qa1](https://community.auth0.com/u/qa1)\
**Post date:** [October 9, 2024, 8:19am UTC](https://community.auth0.com/t/auth0-is-redirecting-the-user-to-the-wrong-url/149459/1 "2024-10-09T08:19:22Z")

</div>

Hello, we are using in our internal testing an Auth0 application for testing a Single-Sign On implementation. It’s used in multiple dev and testing environment, but there seems to be a problem where it’s often redirecting to one of our URLs instead of the callback it was passed. Can you help us to see what exactly is going on?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 9, 2024, 7:46pm UTC](https://community.auth0.com/t/auth0-is-redirecting-the-user-to-the-wrong-url/149459/3 "2024-10-09T19:46:13Z")

</div>

Hi @qa1,

Welcome to the Auth0 Community!

I recommend checking your tenant logs to verify that the `redirect_uri` in your login event matches the one you passed in your login request. The URL should match one of the URLs defined in the **Allowed Callback URLs**.

It might also be worth checking your network activity to ensure that the `redirect_uri` value is passed in correctly.

Thanks,  
Rueben

---

<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:** [October 23, 2024, 7:46pm UTC](https://community.auth0.com/t/auth0-is-redirecting-the-user-to-the-wrong-url/149459/4 "2024-10-23T19:46:49Z")

</div>

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