I need a simple PHP library to encode and decode JSON Web Tokens. It will be used to integrate OIDC / OpenID Connect logins into existing PHP forum software.
For example, here is a library for .NET(C#): https://github.com/johnsheehan/jwt
We are using this library: https://github.com/firebase/php-jwt
You could also try this one: https://coderwall.com/p/8wrxfw/goodbye-php-sessions-hello-json-web-tokens
The last link contains nice little article on using JWT tokens with PHP
Here's a list of JWT libraries, including 6 for PHP: https://jwt.io/
Here's a list of OIDC libraries, including 4 for PHP: http://openid.net/developers/libraries/
FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.
Boost your productivity with FavScripts.com!