# Problema with AuthComponent

**URL:** <https://discourse.cakephp.org/t/problema-with-authcomponent/7488>\
**Category:** Need Help\
**Created:** [March 17, 2020, 10:41pm UTC](https://discourse.cakephp.org/t/problema-with-authcomponent/7488 "2020-03-17T22:41:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aitor](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Aitor](https://discourse.cakephp.org/u/Aitor)\
**Post date:** [March 17, 2020, 10:41pm UTC](https://discourse.cakephp.org/t/problema-with-authcomponent/7488/1 "2020-03-17T22:41:34Z")

</div>

Hi i haber a project on cakephp2.8 when i install on my local and try load the login Page the component AuthComponent return me unauthorizedRedirect and redirect to the login so many times.  
On my controller i use the fuction allow to AuthComponent from my fucntion login, so i shouldent have trouble  
I should change the configuración component for my local?  
Thanks
