Closed muresanandrei closed 6 years ago
Do you have a DB setup with the User table, and a proper model class?
I thought I didn't need a user table since I use cognito. Sorry I am new to everything that includes aws.So I am not sure why I need a users table when users are on aws not my db.
This package just overrides the built in Laravel user with, letting cognito authorize. But the User model passed around still comes from your database.
@zoul0813 thanks for the help.
I've added some additional documentation to the readme to help clarify this point.
https://github.com/pallant/laravel-aws-cognito-auth/tree/v1.1.2#users-table
When I try Auth::attempt() I get Base table or view not found error. I configured aws, aws-cognito-auth and also auth how it says on description but I still get this.