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

Dependency on deprecation #15

Closed kevinyea closed 6 years ago

kevinyea commented 6 years ago

Hi I was altering an existing app on Laravel 5.5.4. However, I'm unable to follow the steps due to a missing file (config/aws-cognito-auth.php). There is some information which seems relevant here. Laravel Deprecation issue with the AWS SDK as found here Can you advise if it is me or some workaround for this issue. Many thanks Kevin

ArranJacques commented 6 years ago

Hi

Sorry for the slow response and I'm not sure if this will still be relevant for you but you can create the file manually if it's failing to publish when you run:

php artisan vendor:publish --provider="Pallant\LaravelAwsCognitoAuth\ServiceProvider"

To do so create a file called aws-cognito-auth.php in your config directory and then copy the contents of the file linked to below and add them to your config file.

https://github.com/ArranJacques/laravel-aws-cognito-auth/blob/master/src/config/aws-cognito-auth.php

That should resolve the issue for you and I'll have a look into why it might not be publishing when running the Artisan commands.

Thanks