asp.net-core - I just need a SignUp Policy. Anyone know the PolicyId's for ASP.NET Core Azure AD B2C Configurations
问题描述
All I'm looking for is a direct link to the Register User flow for Azure AD B2C. Currently a user needs to hit the Sign In form, then needs to select "Sign up Now".
I've search high and low through the Azure B2C doco, and can't find the right text for the PolicyId to link to my SignUp page only.
While the doco clearly shows what you need to do with SignUpSignInPolicyId, ResetPasswordPolicyId and EditProfilePolicyId eg...
"SignUpSignInPolicyId": "B2C_1_SignInRegister",
"ResetPasswordPolicyId": "B2C_1_PasswordReset",
"EditProfilePolicyId": "B2C_1_ProfileEdit",
The doco doesn't list the full range of ...PolicyId's, that .AddAzureADB2C(options => Configuration.Bind("AzureAdB2C", options));
allow's
解决方案
There are the properties of MicrosoftIdentityOptions in the link. SignUpSignInPolicyId
, ResetPasswordPolicyId
and EditProfilePolicyId
are the
all properties about PolicyId.
You need to create user flows about sign up and sign in when you want to use SignUpSignInPolicyId. It is similar to other policies. You could try this by following the sample.
推荐阅读
- python - Google Analytics Reporting API v4:nextPagetoken 不能超过 10,000 行(Python)
- android-studio - 如何在 Android Studio [Github] 中从现有分支结帐到新分支
- azure - 如何在 Azure 数据工厂 SFTP 中使用通配符文件名?
- svg - 为什么 ImageMagick 在输入时会以不同的方式处理 SVG?
- c++ - boost::locale::boundary::segment_index 抛出 bad_cast
- android - 更改为 androidx - 铃声偏好
- opendj - 如何验证 OpenDJ 响应 ldap 请求?
- git - 如何重置特定存储库地址的 git 凭据
- r - 当您已经给出百分比分布时,在 r 中制作小提琴图
- c++ - 通过从向量中获取键和与映射中的键对应的值来创建映射