Set up JWT on CakePHP, and everything works fine provided you set
“Authorization”, Bearer ${userToken}
in the header
But for VIEWS that is broken they are 401 is secured, or no security if not
I keep looking at the cookbooks but not seeing a way to have AUTH in src/Controller/AppController.php use JWT or $this->Auth->setUser()
Or how you would add the token to the VIEW so it is in the header on the first REQ there.
What am I over looking? I am not buying that JWT means you can not use cake views securely at all?