1
How to send jwt token from browser to php server each request? Every time I study about using a token only shows how to create, not how to actually use, in the image below shows that you return the token to the server in every request, but how to do this, using PHP?
If possible, could send an example of using the token!
I’ll take a look, thank you very much!
– Victor M.
You can only use the token with a SPA?
– Victor M.
No, you can take the token returned from the API and save in the browser (localhistory) for example.
– Milrak Pereira Pessoa
And how I send to the server to authenticate every time I change page?
– Victor M.