Azure AD B2C支持一个托管多个URL的应用程序 [英] Azure AD B2C support for one app hosting multiple URLs

查看:69
本文介绍了Azure AD B2C支持一个托管多个URL的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们有一个托管多个域的电子商务天蓝色网络应用。例如,www.store1.com,www.store2.com,都指向同一个Web应用程序。 Web应用程序读取标题并根据URL构建页面。

We have a single ecommerce azure web app that hosts multiple domains. For example, www.store1.com, www.store2.com, all point to the same web app. The web app reads the header and builds the page depending on the URL.

我们希望在所有这些"商店"上使用Azure B2C进行身份验证。 Azure B2C是否支持此方案?如果没有,是否有可能解决?

We'd like to use Azure B2C for authentication on all these 'stores'. Does Azure B2C support this scenario? If not, is there a possible work around?

推荐答案

你好dpatti,

Hi dpatti,

我有研究了你的查询。实际上,Azure AD B2C是一种身份管理服务,它使您能够自定义和控制用户与您的应用程序安全交互的方式。

I have researched on your query. Actually, Azure AD B2C is an identity management service and it enables you to customize and control how users securely interact with your application.

根据您的问题,在您的应用程序中,客户将从不同的方式进行交互像store1,store2这样的域,并且您希望通过Azure AD B2C对这些用户进行身份验证。

As per your question, in your application customers will interact from different domains like store1, store2 and you want to authenticate those users via Azure AD B2C.

是的,您也可以使用Azure AD和Azure AD B2C对用户进行身份验证。在您的情况下,Azure AD也可以使用,首先您需要创建一个租户 - >注册服务主体(app)并输入redirect uri作为托管
应用程序的Web应用程序的地址。

Yes, you can authenticate users with Azure AD and Azure AD B2C also. In your case Azure AD will also work, first you need to create a tenant--> Register a Service Principal (app) and enter redirect uri as the address of the web app where you host your applications.

请检查以下链接,以便在Web中集成Azure AD app:

Please check the below link for integrating Azure AD in Web app:

https:// docs .microsoft.com / zh-CN / azure / active-directory / develop / web-app

但是如果您想要集成第三方登录,例如Google,Facebook和其他身份提供商或您希望使用登录注册,密码重置,配置文件编辑策略,您可以使用Azure AD B2C。

But if you would like to integrate third party logins like Google, Facebook and other Identity providers or you want to use sign in sign up, password reset, profile editing policies you can go with Azure AD B2C.

请检查Azure AD B2C的以下链接:

Please check the below link for Azure AD B2C:

https:// docs .microsoft.com / zh-CN / azure / active-directory-b2c / active-directory-b2c-overview

我希望这可以解决您的问题。

I hope this solves your issue.

谢谢。


这篇关于Azure AD B2C支持一个托管多个URL的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆