Advertisement
Guest User

Untitled

a guest
May 2nd, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.90 KB | None | 0 0
  1.  <UserJourney Id="SignUpOrSignInTOTP" DefaultCpimIssuerTechnicalProfileReferenceId="JwtIssuer">
  2.       <OrchestrationSteps>
  3.         <OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
  4.           <ClaimsProviderSelections>
  5.             <ClaimsProviderSelection TargetClaimsExchangeId="MicrosoftAccountExchange" />
  6.             <ClaimsProviderSelection TargetClaimsExchangeId="GoogleExchange" />
  7.             <ClaimsProviderSelection TargetClaimsExchangeId="AppleExchange" />
  8.             <ClaimsProviderSelection TargetClaimsExchangeId="TwitterExchange"/>  
  9.             <ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
  10.           </ClaimsProviderSelections>
  11.           <ClaimsExchanges>
  12.             <ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
  13.           </ClaimsExchanges>
  14.         </OrchestrationStep>
  15.         <OrchestrationStep Order="2" Type="ClaimsExchange">
  16.           <Preconditions>
  17.             <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
  18.               <Value>objectId</Value>
  19.               <Action>SkipThisOrchestrationStep</Action>
  20.             </Precondition>
  21.           </Preconditions>
  22.           <ClaimsExchanges>
  23.             <ClaimsExchange Id="MicrosoftAccountExchange" TechnicalProfileReferenceId="MSA-OIDC-SignIn" />
  24.             <ClaimsExchange Id="GoogleExchange" TechnicalProfileReferenceId="Google-OAUTH-SignIn" />
  25.             <ClaimsExchange Id="AppleExchange" TechnicalProfileReferenceId="Apple-OAUTH-SignIn" />
  26.             <ClaimsExchange Id="TwitterExchange" TechnicalProfileReferenceId="Twitter-SignIn" />
  27.             <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail-HasEmailFlagged" />
  28.           </ClaimsExchanges>
  29.         </OrchestrationStep>
  30.         <OrchestrationStep Order="3" Type="ClaimsExchange">
  31.           <ClaimsExchanges>
  32.             <ClaimsExchange Id="AADUserReadWithObjectId" TechnicalProfileReferenceId="AAD-UserReadUsingObjectId" />
  33.           </ClaimsExchanges>
  34.         </OrchestrationStep>
  35.         <!-- Call the TOTP enrollment ub journey. If user already enrolled the sub journey will not ask the user to enroll -->
  36.         <OrchestrationStep Order="4" Type="InvokeSubJourney">
  37.           <JourneyList>
  38.             <Candidate SubJourneyReferenceId="TotpFactor-Input" />
  39.           </JourneyList>
  40.         </OrchestrationStep>
  41.         <!-- Call the TOTP validation sub journey-->
  42.         <OrchestrationStep Order="5" Type="InvokeSubJourney">
  43.           <JourneyList>
  44.             <Candidate SubJourneyReferenceId="TotpFactor-Verify" />
  45.           </JourneyList>
  46.         </OrchestrationStep>
  47.         <OrchestrationStep Order="6" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer" />
  48.       </OrchestrationSteps>
  49.     </UserJourney>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement