# Too many redirects error

**URL:** <https://devforum.okta.com/t/too-many-redirects-error/18010>\
**Category:** Questions\
**Created:** [November 11, 2021, 7:15pm UTC](https://devforum.okta.com/t/too-many-redirects-error/18010 "2021-11-11T19:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksa13](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@aleksa13](https://devforum.okta.com/u/aleksa13)\
**Post date:** [November 11, 2021, 7:15pm UTC](https://devforum.okta.com/t/too-many-redirects-error/18010/1 "2021-11-11T19:15:11Z")

</div>

So, I am new to Okta and I build the most simple ever Spring Boot app and included Okta. I followed the tutorials and guides and I successfully got it running and created some users but when I try to login (this happens only when credentials are correct) I get this too many redirects error (when it is supposed to access the endpoint).  
I am aware that this question has been asked many times and I tried everything but it just won’t resolve. Would really appreciate if someone may know why is this happening.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 7:26pm UTC](https://devforum.okta.com/t/too-many-redirects-error/18010/2 "2024-02-12T19:26:08Z")

</div>


