zefy / laravel-sso

MIT License
100 stars 75 forks source link

Unknown column 'username' in 'where clause' #24

Open visualNext opened 4 years ago

visualNext commented 4 years ago

I have three laravel 5.8 websites (https://auth.localhost, https://main.localhost, https://second.localhost), auth website install server laravel-sso package, main and second install broker.

When I log in https://main.localhost, have the error message.

Server error: `POST https://auth.localhost/api/sso/login` resulted in a `500 Internal Server Error` response: { "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'username' in 'where clause' (SQL: select * fro (truncated...)