简体   繁体   English

Azure AD B2C 自定义策略社交按钮订单

[英]Azure AD B2C Custom policy social buttons order

I just wondering is there any way to manipulate the order of the social login buttons at custom policies?我只是想知道有没有办法在自定义策略中操纵社交登录按钮的顺序? So in the example below, not FB bus MS login button is the first:所以在下面的例子中,不是FB总线MS登录按钮是第一个:

在此处输入图像描述

rgds, rgds,

'Child '孩子

My college just figured out the answer:我的大学刚刚找到了答案:

UserJourney Id="policyName">
        <OrchestrationSteps>
            <OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
                <ClaimsProviderSelections>
                    <ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange"/>
                    <ClaimsProviderSelection TargetClaimsExchangeId="SigninwithGoogle"/>
                    <ClaimsProviderSelection TargetClaimsExchangeId="SigninwithFacebook"/>
                    <ClaimsProviderSelection TargetClaimsExchangeId="SigninwithApple"/>
                </ClaimsProviderSelections>
                <ClaimsExchanges>
                    <ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email"/>
                </ClaimsExchanges>
            </OrchestrationStep>
</OrchestrationSteps>

So if I change the element's order then the button order will change on the login page.因此,如果我更改元素的顺序,那么按钮顺序将在登录页面上更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM