Error while making an /oauth/token request to laravel 7 application #777
-
Getting below error in laravel 7 project on php 7.4
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
@manjunathpadolkar it seems like you don't have a valid key configured... Have you checked that? |
Beta Was this translation helpful? Give feedback.
-
Also check: Lines 99 to 104 in a8acedb At this point of the execution, your |
Beta Was this translation helpful? Give feedback.
-
I converted this to a discussion, since it's not a bug/issue. |
Beta Was this translation helpful? Give feedback.
-
I think I found the solution for this issue. It looks like it was a Laravel Internal issue. My laravel app is 7.0 and passport was installed on it with a version of "laravel/passport": "^8.4" and I think passport 8.4 is dependent on lcobucci/jwt package for some reason Laravel was throwing an error. Solution: I upgraded the passport package to "laravel/passport": "~9.0" and removed lcobucci/jwt package with this update it worked fine. |
Beta Was this translation helpful? Give feedback.
I think I found the solution for this issue. It looks like it was a Laravel Internal issue. My laravel app is 7.0 and passport was installed on it with a version of "laravel/passport": "^8.4" and I think passport 8.4 is dependent on lcobucci/jwt package for some reason Laravel was throwing an error.
Solution: I upgraded the passport package to "laravel/passport": "~9.0" and removed lcobucci/jwt package with this update it worked fine.