# Lock redirects twice

**URL:** <https://community.auth0.com/t/lock-redirects-twice/7178>\
**Category:** Get Help\
**Tags:** auth0-lock, embedded-lock, lock\
**Created:** [June 21, 2017, 2:18pm UTC](https://community.auth0.com/t/lock-redirects-twice/7178 "2017-06-21T14:18:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gowtham.gopalakrishn](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gowtham.gopalakrishn](https://community.auth0.com/u/gowtham.gopalakrishn)\
**Post date:** [June 21, 2017, 2:18pm UTC](https://community.auth0.com/t/lock-redirects-twice/7178/1 "2017-06-21T14:18:24Z")

</div>

I’m using Auth0 Lock v10 with Angular 4. After logged in, I’m navigating to a route that is meant for authenticated users only. The problem is after logging in and redirecting to the route i specified, it again redirects to the redirect URL I specified in the auth0 config options.

Can you please tell us why is this happening? or how can I disable this?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 23, 2017, 6:39pm UTC](https://community.auth0.com/t/lock-redirects-twice/7178/2 "2017-06-23T18:39:14Z")

</div>

The described behavior seems highly specific to how you implemented your client application and how the authentication part was integrated to it. For example, if you have guards in place that redirect non-authenticated users to the login page the behavior could be explained by those guards incorrectly treating an already authenticated user as not authenticated and still performing the redirect.

In order to diagnose the root cause a small sample application that reproduces the issue would be ideal, otherwise, other people can only make guesses unless they already experienced the same exact behavior before which is not my case. You should create or point to a sample application that exhibits this issue.

---

<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 2, 2018, 5:54am UTC](https://community.auth0.com/t/lock-redirects-twice/7178/3 "2018-03-02T05:54:49Z")

</div>


