ASP.net core web api: Using Facebook/Google OAuth access token for authentication

后端 未结 2 533
离开以前
离开以前 2021-02-01 19:57

For serveral days now I am trying to get OAuth authentication with Google and Facebook to work within my ASP.net core web api project.

my current status is:

2条回答
  •  广开言路
    2021-02-01 19:59

    You have to copy the custom code available in this article on medium

    Creat a function in AccountController.cs

     private async Task AuthenticationManager_GetExternalLoginInfoAsync_WithExternalBearer()
    

    And paste the code given in the article

提交回复
热议问题