Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Passport gets 'It was not possible to parse your key, reason: ""' error after upgrade to PHP8.0

My app works on Laravel 8 with laravel/passport 10.0.1. After upgrading php version on dev server from 7.4 to 8.0, I'm getting It was not possible to parse your key, reason: "" error (without any message from openssl_error_string).

Any ideas how to fix it?

like image 725
Boris N Avatar asked Nov 29 '20 23:11

Boris N


1 Answers

OK, after brief investigation, I found that you have to update laravel/passport to 10.1.0 (the newest at the moment of posting) to make it work with php8.0.

like image 133
Boris N Avatar answered Sep 21 '22 02:09

Boris N