Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <UserJourney Id="SignUpOrSignInTOTP" DefaultCpimIssuerTechnicalProfileReferenceId="JwtIssuer">
- <OrchestrationSteps>
- <OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
- <ClaimsProviderSelections>
- <ClaimsProviderSelection TargetClaimsExchangeId="MicrosoftAccountExchange" />
- <ClaimsProviderSelection TargetClaimsExchangeId="GoogleExchange" />
- <ClaimsProviderSelection TargetClaimsExchangeId="AppleExchange" />
- <ClaimsProviderSelection TargetClaimsExchangeId="TwitterExchange"/>
- <ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
- </ClaimsProviderSelections>
- <ClaimsExchanges>
- <ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
- </ClaimsExchanges>
- </OrchestrationStep>
- <OrchestrationStep Order="2" Type="ClaimsExchange">
- <Preconditions>
- <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
- <Value>objectId</Value>
- <Action>SkipThisOrchestrationStep</Action>
- </Precondition>
- </Preconditions>
- <ClaimsExchanges>
- <ClaimsExchange Id="MicrosoftAccountExchange" TechnicalProfileReferenceId="MSA-OIDC-SignIn" />
- <ClaimsExchange Id="GoogleExchange" TechnicalProfileReferenceId="Google-OAUTH-SignIn" />
- <ClaimsExchange Id="AppleExchange" TechnicalProfileReferenceId="Apple-OAUTH-SignIn" />
- <ClaimsExchange Id="TwitterExchange" TechnicalProfileReferenceId="Twitter-SignIn" />
- <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail-HasEmailFlagged" />
- </ClaimsExchanges>
- </OrchestrationStep>
- <OrchestrationStep Order="3" Type="ClaimsExchange">
- <ClaimsExchanges>
- <ClaimsExchange Id="AADUserReadWithObjectId" TechnicalProfileReferenceId="AAD-UserReadUsingObjectId" />
- </ClaimsExchanges>
- </OrchestrationStep>
- <!-- Call the TOTP enrollment ub journey. If user already enrolled the sub journey will not ask the user to enroll -->
- <OrchestrationStep Order="4" Type="InvokeSubJourney">
- <JourneyList>
- <Candidate SubJourneyReferenceId="TotpFactor-Input" />
- </JourneyList>
- </OrchestrationStep>
- <!-- Call the TOTP validation sub journey-->
- <OrchestrationStep Order="5" Type="InvokeSubJourney">
- <JourneyList>
- <Candidate SubJourneyReferenceId="TotpFactor-Verify" />
- </JourneyList>
- </OrchestrationStep>
- <OrchestrationStep Order="6" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer" />
- </OrchestrationSteps>
- </UserJourney>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement