search

Home  >  Q&A  >  body text

Problem using laravel/passport with lumen

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?

漂亮男人漂亮男人2832 days ago638

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 13:12:00

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

    reply
    0
  • Cancelreply