Skip to content

Error while making an /oauth/token request to laravel 7 application #777

Discussion options

You must be logged in to vote

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.

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@manjunathpadolkar
Comment options

@manjunathpadolkar
Comment options

@manjunathpadolkar
Comment options

@Ocramius
Comment options

Ocramius Aug 29, 2021
Collaborator Sponsor

@manjunathpadolkar
Comment options

Comment options

Ocramius
Aug 27, 2021
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

Ocramius
Aug 27, 2021
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lcobucci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #776 on August 27, 2021 08:40.