aws / aws-sdk-net-extensions-cognito

An extension library to assist in the Amazon Cognito User Pools authentication process
Apache License 2.0
102 stars 49 forks source link

Feature/add totp challenge #58

Closed gjdodd closed 3 years ago

gjdodd commented 3 years ago

55

56

Description of changes: Added support for TOTP challenges, supports the existing way by defaulting to SMS, but also has an additional override method to allow setting the challenge type.

I have also done the changes to the identity provider on the other repo to automatically support the 2fa differences, currently, these changes are on my fork until this is merged as the other branch relies on changes from this branch for the RespondToMfaRquest class

I have seen other pull requests which are approved but not merged from what I can see, but these do not seem to be backwardly compatible, and also there is no other pull request on the identity provider to also update that to support the required changes.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

normj commented 3 years ago

This is PR is released as part of version 2.1.0. I'll work on getting your corresponding PR https://github.com/aws/aws-aspnet-cognito-identity-provider/pull/173 out soon.