aws / aws-aspnet-cognito-identity-provider

ASP.NET Core Identity Provider for Amazon Cognito
https://aws.amazon.com/developer/language/net/
Apache License 2.0
213 stars 89 forks source link

Any plans to support .NET 5.0? #205

Closed flgatormike closed 3 years ago

ashishdhingra commented 3 years ago

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 that netstandard2.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

flgatormike commented 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;

flgatormike commented 3 years ago

I got it running. Not sure what I was doing wrong, maybe I had the wrong version.

github-actions[bot] commented 3 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

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.