Closed jlastrachan closed 1 year ago
Confirmed also getting this
Reproducible. We would need to release new version of Amazon.AspNetCore.Identity.Cognito
package that references the latest Amazon.Extensions.CognitoAuthentication 2.4.1
assembly. Would review with the team for quick action.
We just released version 2.4.2 restoring the original method signatures. Sorry about the inadvertent break, let us know if you see any further issues.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Upgrading from 2.4.0 to 2.4.1 starts producing the following error when trying to sign in via password (see
await _signInManager.PasswordSignInAsync
in the code snippet below).Expected Behavior
PasswordSignInAsync works as it did in version 2.4.0 or creates a compile-time error exposed to me with the changes needed to upgrade the package.
Current Behavior
I get this stack trace when running the code:
Reproduction Steps
Code that calls the SignInManager looks like:
Possible Solution
Looks like this commit that changed the call signatures with CancellationToken support is what broke this: https://github.com/aws/aws-sdk-net-extensions-cognito/commit/8ac3dd99c8d6014c198627ca2b9f690b4d553584
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Installed implicitly as dependencies of Amazon.Extensions.CognitoAuthentication 2.4.1 AWSSDK.CognitoIdentity 3.7.0.2 AWSSDK.CognitoIdentityProvider 3.7.0.2
Targeted .NET Platform
.NET 6
Operating System and version
OSX Ventura 13.2