Please suggest some good PHP library to encode and decode JSON Web Tokens / JWT / OIDC / OpenID Connect

2
=
0.5
+
1.5
2 Bitcoin bounty has been announced by author.
0.5 has been already awarded by author.
1.5 remains available.
0

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

2 answers

2
=
1
=
$0.5
1 tip with total amount of 1.7 mBTC($0.5 USD) have been sent by lampego

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

SEND BITCOIN TIPS
User rating:

Thanks :)

0

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/

SEND BITCOIN TIPS
User rating:

Thanks for the link! By the way, I wanted to send you some millicoins, but your profile is missing a Bitcoin address

0

Too many commands? Learning new syntax?

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!

Post Answer