Azure AD B2C注册和登录页面的自定义URL [英] Custom URL for Azure AD B2C signup and signin pages

查看:181
本文介绍了Azure AD B2C注册和登录页面的自定义URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在集成Azure Active Directory B2C,以进行注册和登录过程.默认情况下,当用户单击登录按钮时,它必须将用户重定向到其他域( microsoftonline.com ),以使注册和登录页面的URL位于以下位置格式:

I'm working on integrating Azure Active directory B2C for sign-up and sign-in process. By default, when a user clicks the login button, it has to redirect the user to a different domain (microsoftonline.com) such that the URL for sign-up and sign-in page is in the following format:

https://登录.microsoftonline.com/te/tenant-name.onmicrosoft.com/b2c_1_signupsignin1/oauth2/v2.0/authorize .......

但是,对于用户将他们重定向到其他域进行登录,我认为这是一种糟糕的用户体验. 因此,我想使用自己的域(例如example.com),以使URL如下所示.

However, I think this is a bad user experience for users redirecting them to other domain for signing in. So I'd like to use my own domain (e.g. example.com) so that the URL should be like below.

https://login .example.com/te/tenant-name.onmicrosoft.com/b2c_1_signupsignin1/oauth2/v2.0/authorize .......

我对Azure文档进行了一些研究,发现它当前不支持为注册和登录页面设置自定义URL.
https://docs.microsoft. com/en-us/azure/active-directory-b2c/active-directory-b2c-faqs

I've done some research on Azure documentation and found out that it does not currently support setting up the custom URL for sign-up and sign-in page.
https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-faqs

但是,来自Azure B2C的案例研究提到,皇家马德里官方主页还使用Azure AD B2C进行用户管理( https://customers.microsoft.com/en-ca/story/real-madrid ). 但是,登录页面URL中的域不是 microsoftonline.com ,而是他们自己的域 realmadrid.com ,如下所示

However, the case study from Azure B2C mentioned that the Real Madrid offical home page also uses Azure AD B2C for user management (https://customers.microsoft.com/en-ca/story/real-madrid). However, the domain in the URL for sign-in page is not microsoftonline.com but their own domain, realmadrid.com, like below

我已经检查了以下页面,但没有一个有帮助.

I've checked the following pages but none of them helped..

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

    那么我怎样才能像Real Madrid主页上使用Azure AD B2C一样做到这一点?

    So how can I achieve this as Real Madrid home page did with Azure AD B2C?

    推荐答案

    当前,您可以使用

    Currently, you are able to use the your-tenant-name.b2clogin.com domain (recommended) or the login.microsoftonline.com domain, latter of which is being deprecated.

    客户支持工作拥有的域已启动.

    这篇关于Azure AD B2C注册和登录页面的自定义URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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