black-bits / laravel-cognito-auth

MIT License
89 stars 53 forks source link

Add admin user password reset support #22

Closed andreaselia closed 5 years ago

andreaselia commented 5 years ago

In order to allow for user passwords to be changed without having to go through the usual password reset procedure which in turn requires a code, this allows for the password to be reset manually by via adminSetUserPassword (docs below).

https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html

aprzywara commented 5 years ago

We currently don't have time to test this in detail, but the code looks fine and since it's a new method it's unlikely to break any existing implementations. Thank you for the contribution :)

andreaselia commented 5 years ago

No worries, anything I can help out with just let me know :)