I am trying to use lumen-passport with PHP 8.0. I am having "It was not possible to parse your key, reason: (500 Internal Server Error)" error while trying to get auth token. In my research, I found some suggestion for solutions about downgrading PHP version to 7.4. I will fix this downgrading PHP but, I would like to use PHP 8.0
Also, upgrading "lcobucci/jwt" to 4.1 can fix the issue but, I am not sure. Maybe this helps.
Hello,
I am trying to use lumen-passport with PHP 8.0. I am having "It was not possible to parse your key, reason: (500 Internal Server Error)" error while trying to get auth token. In my research, I found some suggestion for solutions about downgrading PHP version to 7.4. I will fix this downgrading PHP but, I would like to use PHP 8.0
Also, upgrading "lcobucci/jwt" to 4.1 can fix the issue but, I am not sure. Maybe this helps.
This is the error message; https://pastebin.pl/view/4a7c1a58
Also, my composer.json config in below;
"require": { "php": "^8.0", "anik/form-request": "^4.2", "dusterio/lumen-passport": "^0.3.4", "flipbox/lumen-generator": "^8.2", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.3", "jenssegers/mongodb": "^3.8", "laravel/lumen-framework": "^8.0", "spatie/laravel-permission": "^4.2", "stevebauman/purify": "^4.0", "tymon/jwt-auth": "dev-develop" },