ArranJacques / laravel-aws-cognito-auth

An authentication driver for Laravel for authenticating users in AWS Cognito User Pools.
Other
74 stars 26 forks source link

Cannot login #23

Closed eric0324 closed 7 months ago

eric0324 commented 5 years ago

When i try to login I get the following error:

Too few arguments to function Illuminate\Auth\Events\Attempting::__construct(), 2 passed in /Applications/AMPPS/www/web/vendor/pallant/laravel-aws-cognito-auth/src/AwsCognitoIdentityGuard.php on line 773 and exactly 3 expected

I think it may be a problem with my AWS COGNITO settings.

So, I check it...

AWS_ACCESS_KEY_ID="xxxxxx"
AWS_SECRET_ACCESS_KEY="xxxxx"
AWS_REGION="ap-southeast-1"
AWS_COGNITO_IDENTITY_POOL_ID="xxxxx"
AWS_COGNITO_IDENTITY_APP_CLIENT_ID="xxxxxx"

Did not find any problems... :'(

Please help me understand what might cause this error.

Thanks.

eizzn commented 5 years ago

I see the same issue digging in revealed that this plugin needs an update for laravel 5.7. it seemed to work again when I downgraded laravel to 5.6. the exception went away but I still have not successfully logged in