Base solution for your next web application
Open Closed

Authentication implementation using Cognito pool #7269


User avatar
0
amitjpat created

We are trying to implement Cognito user pool as third party api based authentication. Would like to get detailed document to integrate the same. we are able to create the the third party login and are able to get the login done with getting token as response how do we integrate the same in ABP framework?


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Authentication and authorization are separate. Can you get the content of AbpSession after authentication?

  • User Avatar
    0
    amitjpat created

    I get the access token and user information but wants to create the session in the application using the same. This is basically a web api based authentication.

  • User Avatar
    0
    amitjpat created

    https://aspnetboilerplate.com/Pages/Documents/Zero/User-Management#external-authentication

    I did exactly same for external authentication and it works now the question is I get response back with accestoken, idtoken and refreshtoken how do we create session using these token instead application creates its own token after authentication. Please suggest.

  • User Avatar
    0
    maliming created
    Support Team

    I think you should use Social Logins instead of external-authentication.

    Can you share your ExternalAuthenticationSource code?

    https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/?view=aspnetcore-2.2&tabs=visual-studio