oauth2-server-php icon indicating copy to clipboard operation
oauth2-server-php copied to clipboard

Random failure at validating the id_token signature in RP

Open noeldieschburg opened this issue 7 years ago • 0 comments

Hello,

First of all, I have to say that this is a very good job. I use this lib to implements an openid connect server and it works pretty well.

I use PDO storage in MySQL.

One problem I had is that signature of id_token (token end point in openidc mode) failed randomly in my rp.

After investigating it appears that the id_token field is a varchar(1000) in the src/OAuth2/Storage/Pdo.php file. 1000 is too small because it can be bigger. I put 2000 and now I don't have problem anymore. It would then be great to update de pfo.php ....

Thanks again for this excellent lib.

Noel

noeldieschburg avatar May 17 '18 22:05 noeldieschburg