Closed russmenum closed 9 months ago
Hi @russmenum This is not the correct repository to get support for Cake PHP.
If you think everything is working for direct endpoints and not in CAKE, then I recommend posting it in a relevant repo or stackoverflow.
I will be closing this bug for now.
However, if you think there is something that is relevant to this repository, please feel free to reopen this with more information and some reproducible code snippets.
Thanks.
Everything is working for direct access to endpoints securely with
fetch()
, but none of the secured can have a CakePHP View.how do I add the equivalent of
to URL/TABLE/VIEW so they are logged in and cake forms will work when they submit?
I am having trouble finding the documentation.
Basically CAKEPHP side: how do I login, and use the token with
<?= $this->Form->create($table) ?>
In my case, the token should already be there in the browser's local storage from the JS pages
I just need to load this to a CakeView and use it with the forms somehow so it will authorize. even if like
and PHP side
I am just a little lost how/where I need to pass this to the VIEW Load and FORMs to authorize.
Any help is appreciated. If this is documented somewhere would love to know where. Thank you in advance.