I am using shield in my UI whitch is extending from BaseController and all is ok
For my API, I have a controller that extend of ResourceController. When I access to this route it displays fine, but when I refresh or got to another page (ui or api), browser redirect to loging.