You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在ASP.NET Boilerplate中配置谷歌社交登录?

在Vue + ASP.NET Core版ABP启动模板中实现谷歌身份验证的进展

我最近在基于搭配Vue的ASP.NET Core版ABP启动模板开发,目标是实现谷歌用户身份验证功能,目前已经完成了部分操作:

  • 在Web.Core项目中创建了GoogleAuthProviderApi类,具体代码如下:
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Google;
using Newtonsoft.Json.Linq;

namespace Mindbus.MindbooksSEO.Authentication.External.Google
{
    public class GoogleAuthProviderApi : ExternalAuthProviderApiBase
    {
        // 类的具体实现代码(省略部分)
    }
}

内容的提问来源于stack exchange,提问作者gijswijs

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 03:22:49