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

Ways of supporting social login #194

Closed CheeseNPort closed 3 years ago

CheeseNPort commented 3 years ago

I am using this package with .Net Core 5 for authentication and we need to support Facebook and Google logins. As I could not find examples on how to use that with this package specifically, we went around it the way we did before. That was to use the OAUth 2 flow. I did that and got back the code, now I have an access token, id token etc. and I was wondering if somehow I can initialate an authorised CognitoUser using this access token.

Please note, I realise I could use Jwt authentication and do away with this library altogether but I do not want to use the OAuth 2 flow for anything other than social logins.

ashishdhingra commented 3 years ago

Hi @CheeseNPort,

Good morning.

Following articles might be helpful for integrating Cognito with you application:

Hope this helps.

Thanks, Ashish

github-actions[bot] commented 3 years ago

This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.