简体   繁体   English

使用 Azure B2C、.NET Core 和 Blazor Webassembly 的 Google One Tap SignIn

[英]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.

相关问题 Azure Ad b2c:成功登录azure ad b2c后在Claims中获得email - Azure Ad b2c: Get email in Claims after successfully Signin in azure ad b2c 使用 cognito 的 Google One Tap SignIn - Google One Tap SignIn with cognito Azure AD B2C 和 Microsoft Identity Web - 使用多个策略登录 (.net Core 3.1) - Azure AD B2C & Microsoft Identity Web - Sign In with multiple policies (.net Core 3.1) 使用 Azure AD B2C on.Net Core 3.1 获取 OBO 流的错误 AADST50013 - Getting error AADST50013 for OBO flow using Azure AD B2C on .Net Core 3.1 Blazor ServerApp Azure b2C - 如何允许匿名访问网站并且不显示 SigninSignUp B2C 登录页面 web 开始 - Blazor ServerApp Azure b2C - how to Allow Anonymous Access To Website and not display SigninSignUp B2C Login page on web start Azure AD B2C 和常规 (SQL) Identity.Net6 - Azure AD B2C and regular (SQL) Identity .Net6 Blazor WASM 使用 Azure AD B2C 无法调用 Microsoft.Graph api - Blazor WASM using Azure AD B2C fails calling Microsoft.Graph api Azure B2C:如何在来自 asp.net 核心控件的注册/登录链接中包含域提示 - Azure B2C: how to Include domain hint in Sign Up/In links from asp.net core control 如何从blazor app调用Azure AD B2C edit profile user flow? - How to call Azure AD B2C edit profile user flow from blazor app? Azure B2C/B2B直连 - Azure B2C/B2B direct connect
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM