https://chirpy.rnmkcy.eu/posts/Using-a-JSON-Web-Token-in-PHP/
JSON Web Token (JWT) en PHP - Yann