Google身份验证Asp.net核心

时间:2019-03-14 11:34:45

标签: asp.net asp.net-mvc google-authentication

尝试在网络应用上使用Google登录时出现以下错误。 使用localhost时工作正常

  

找不到此pelusoftcamerawebapp.azurewebsites.net页面。   找到该网页的网址:   https://pelusoftcamerawebapp.azurewebsites.net/signin-google?state=CfDJ8BRnSyuVZrdLjm6frrOu1DBgXqvK5dey3eI632SEKrS7vg ........

goole登录代码:

website imp click
amazon  3   1
apple   1   1
adidas  2   2

我已将 SELECT a.[webite], case when a.[event_type] = 'imp' then 1 end as 'imp', case when a.[event_type] = 'click' then 1 end as 'click' FROM [campaign] as a INNER JOIN [campaign] as b ON a.[webite] = b.[webite] 添加到Google控制台域验证中

你有什么主意吗?

1 个答案:

答案 0 :(得分:0)

由于Google已关闭 Google Plus ,因此基于Google Plus的身份验证机制已更改,并且还影响了ASP.NET和ASP.NET Core中现有的Google身份验证。

Microsoft已为ASP.NET和ASP.NET Core更新了Google身份验证库。

更多信息,在这里:Google+ based auth deprecation and replacement