[英]Google One Tap SignIn with Azure B2C, .NET Core and Blazor Webassembly
I'm currently using Azure B2C as identity management server to give my Blazor Webassembly client access to a .NET core API, but find the sign in flow to be a bit clunky.我目前正在使用 Azure B2C 作为身份管理服务器,让我的 Blazor Webassembly 客户端可以访问 .NET 核心 API,但发现登录流程有点笨拙。 I've looked at Google One Tap sign in which is much more smooth but I'm not sure if that can be integrated with Azure B2C or if I need to throw that out.
我看过Google One Tap 登录,它更加流畅,但我不确定它是否可以与 Azure B2C 集成,或者我是否需要将其丢弃。 Can Google One Tap signin be incorporated Azure B2C and what are the basic steps to do so?
Google One Tap signin 可以并入 Azure B2C 吗?这样做的基本步骤是什么? And if that is not possible what are my alternatives?
如果那不可能,我有什么选择?
You can configure Azure AD B2C to allow users to sign in to your application with credentials from external identity providers like Facebook, Google and GitHub.您可以配置 Azure AD B2C,以允许用户使用来自外部身份提供商(例如 Facebook、Google 和 GitHub)的凭据登录您的应用程序。
Google One Tap is part of Google Identity Service, it's a type of Google Authentication without using password and we can use Google Identity Service along side with Azure AD B2C. Google One Tap 是 Google Identity Service 的一部分,它是一种不使用密码的 Google 身份验证,我们可以将 Google Identity Service 与 Azure AD B2C 一起使用。
First we need to to register Google as an identity provider for your Azure AD B2C tenant, as described in this document .首先,我们需要将 Google 注册为您的 Azure AD B2C 租户的身份提供商,如本文档中所述。
You need to create a sign-up or sign-in policy, as described at Azure Active Directory B2C: Built-in policies , and add Google as an identity provider for this policy.您需要创建注册或登录策略,如Azure Active Directory B2C:内置策略中所述,并将Google添加为该策略的身份提供者。
Check this example of using Google Identity Provider with Azure AD B2C for more information.查看此将Google 身份提供商与 Azure AD B2C 结合使用的示例,了解更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.