# \#loop

**URL:** https://community.auth0.com/tag/loop/418.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Redirect Loop after Authentication](https://community.auth0.com/t/redirect-loop-after-authentication/88507)

<div class="topic-metadata">

**Author:** [@brian\_watkins](https://community.auth0.com/u/brian_watkins)\
**Replies:** 3\
**Last updated:** [November 4, 2022, 2:59pm UTC](https://community.auth0.com/t/redirect-loop-after-authentication/88507 "2022-11-04T14:59:34Z")

</div>

I have auth0 set up and working for one of my sites. We are using MVC web applications. For my other app, I am redirected to auth0 and complete the login. After the login it keeps redirecting back and forth between my s…

---

## [Need a way to load application on window load without loop due to redirect after login with spa](https://community.auth0.com/t/need-a-way-to-load-application-on-window-load-without-loop-due-to-redirect-after-login-with-spa/6471)

<div class="topic-metadata">

**Author:** [@tavon.macon-ellis](https://community.auth0.com/u/tavon.macon-ellis)\
**Replies:** 1\
**Last updated:** [May 4, 2017, 1:49pm UTC](https://community.auth0.com/t/need-a-way-to-load-application-on-window-load-without-loop-due-to-redirect-after-login-with-spa/6471 "2017-05-04T13:49:16Z")

</div>

Is this accomplished by having a state parameter? I don’t understand the logic. Could you assist us with a short snippet to try with our lock? we need to login and stay on page if successful.
