dusterio / lumen-passport

Making Laravel Passport work with Lumen
MIT License
654 stars 141 forks source link

user id missing? #28

Closed dleesalestreamsoft closed 2 years ago

dleesalestreamsoft commented 7 years ago

I am getting this without a clue on how to fix it.

It seems like when I call my oauth using get with a token I dont get unauthoized but i get this error instead

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "" (SQL: select * from "users" where "users"."id" = limit 1)

I been working on it for hours. trying to find any clue on what is going on.

Pac0o commented 7 years ago

Are you using client credentials grant type?

xiongminghui commented 7 years ago

Did you solve it?