Azure AD B2C链接到注册页面(未登录) [英] Azure AD B2C Link to Sign Up Page (Not Sign In)

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

问题描述

我在我的React应用程序中将Azure AD B2C与msal.js一起使用.

I'm using Azure AD B2C with msal.js in my React app.

当前,当用户尝试进入我的应用的受保护区域时,msal.js会将用户重定向到登录页面,该页面提供了指向注册页面的链接.

Currently, when the user tries to enter the protected area of my app, msal.js redirects the user to the login in page which provides a link to the sign up page.

我是否可以将用户直接发送到注册页面?在某些情况下,我知道用户尚未注册,因此将用户首先带到登录页面然后让他们单击并转到登录页面是一种糟糕的用户体验.最好直接发送给他们进行注册.

Is there a way for me to send users directly to the sign up page? There are cases when I know the user has not yet signed up so it's bad user experience to send the user first to the sign in page then let them click and go to the sign up page. It would be nicer to just send them directly to sign up instead.

推荐答案

以及注册或登录策略,您可以

As well as the sign-up or sign-in policy, you can create a sign-up only policy, which allows a new user to sign up with a local account and/or a social account.

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

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