# Invalid redirect after login using auth0-js

**URL:** <https://community.auth0.com/t/invalid-redirect-after-login-using-auth0-js/10217>\
**Category:** Get Help\
**Created:** [March 20, 2018, 2:41pm UTC](https://community.auth0.com/t/invalid-redirect-after-login-using-auth0-js/10217 "2018-03-20T14:41:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eron.castro](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eron.castro](https://community.auth0.com/u/eron.castro)\
**Post date:** [March 20, 2018, 2:41pm UTC](https://community.auth0.com/t/invalid-redirect-after-login-using-auth0-js/10217/1 "2018-03-20T14:41:04Z")

</div>

_Please fill out the following to the best of your ability. Doing so will help out the troubleshooting process_

- What are you trying to achieve? What is the use case or idea behind it?  
I am trying to report an intermittent failure, related to Auth0 login process using Auth0Lock.

- If this is caused by an SDK please mention the SDK along with the specific version number.  
No.

- Is this easily reproducible? If not, please explain.  
No.

- If this is related to Lock / any SDK please share the SDK as well as lock initialization code or any code that is relevant.  
No.

- If this is an issue with an API please mention the endpoint you are trying to hit. Relevant code, and or a network trace, is really helpful when debugging such issues.  
No.

- Environment-specific information (Which OS, Language Runtime + Version, Browser etc).

While trying to login to my SPA, which uses Auth0-JS, I was redirected to a callback URL that was not listed on my authorized list. Can you please check what it is happening?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [March 20, 2018, 4:12pm UTC](https://community.auth0.com/t/invalid-redirect-after-login-using-auth0-js/10217/2 "2018-03-20T16:12:29Z")

</div>

Can you let us know the error message you received or associated code we can verify?

---

<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:** [July 25, 2019, 11:09am UTC](https://community.auth0.com/t/invalid-redirect-after-login-using-auth0-js/10217/3 "2019-07-25T11:09:44Z")

</div>


