Closed flgatormike closed 3 years ago
I haven't figured out how to add this to my startup: services.AddCognitoIdentity();
I get this error: 'IServiceCollection' does not contain a definition for 'AddCognitoIdentity'
I have used this library successfully with a ASP .NET Core 3.1 project with these using statements, but can't figure out how to make it work with a .NET 5.0 project.
using Amazon.CognitoIdentityProvider; using Amazon.Extensions.CognitoAuthentication;
I got it running. Not sure what I was doing wrong, maybe I had the wrong version.
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.
Hi @flgatormike,
Good morning.
The ASP.NET Cognito Identity provider targets
netstandard2.0
and it works for .NET 5.0 (also refer table at https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support which states thatnetstandard2.0
supports .NET 5.0). Please advise if there is any specific issue that you are facing when using this library with ASP.NET Core Net 5.0 application.Thanks, Ashish