Hi there!
I have just installed PHP-JWT library from GitHub - firebase/php-jwt: PHP package for JWT. There i found only encrypting/decrypting examples, without sending data from forms and authorising with generating tokens. Please can somebody share a link to a simple php example, where some data is sending from html form to a server, than these data is checked, tokens are generated, and then authorised user can use just tokens for surfing a site. Sorry for maybe stupid question