Problem using laravel/passport with lumen
漂亮男人
漂亮男人 2017-05-16 13:10:00
0
1
627

Lumen uses laravel/passport. According to the official documentation, calling oauth/token can generate a token, but calling other routes will report an error. For example, calling oauth/clients will report a 500 error and prompt

< /p>

Then I found the file CreatesUserProviders

< /p>

But I don’t know what should be returned below and what middleware should be called?

漂亮男人
漂亮男人

reply all(1)
滿天的星座

Solved. Modify the driver value in the auth configuration file to eloquent. I didn’t read the documentation carefully before reading this problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template