Advertisement
Guest User

Untitled

a guest
May 8th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.49 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-MicrosoftAccount-OpenIdConnect" />
  24.             <ClaimsExchange Id="GoogleExchange" TechnicalProfileReferenceId="Google-OAuth2" />
  25.             <ClaimsExchange Id="AppleExchange" TechnicalProfileReferenceId="Apple-OIDC" />
  26.             <ClaimsExchange Id="TwitterExchange" TechnicalProfileReferenceId="Twitter-OAuth1" />
  27.             <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
  28.           </ClaimsExchanges>
  29.         </OrchestrationStep>
  30.         <OrchestrationStep Order="3" Type="ClaimsExchange">
  31.           <Preconditions>
  32.             <Precondition Type="ClaimEquals" ExecuteActionsIf="true">
  33.               <Value>authenticationSource</Value>
  34.               <Value>localAccountAuthentication</Value>
  35.               <Action>SkipThisOrchestrationStep</Action>
  36.             </Precondition>
  37.           </Preconditions>
  38.           <ClaimsExchanges>
  39.             <ClaimsExchange Id="AADUserReadUsingAlternativeSecurityId" TechnicalProfileReferenceId="AAD-UserReadUsingAlternativeSecurityId" />
  40.           </ClaimsExchanges>
  41.         </OrchestrationStep>
  42.         <OrchestrationStep Order="4" Type="ClaimsExchange">
  43.           <ClaimsExchanges>
  44.             <ClaimsExchange Id="AADUserReadWithObjectId" TechnicalProfileReferenceId="AAD-UserReadUsingObjectId" />
  45.           </ClaimsExchanges>
  46.         </OrchestrationStep>
  47.         <!-- Call the TOTP enrollment ub journey. If user already enrolled the sub journey will not ask the user to enroll -->
  48.         <OrchestrationStep Order="5" Type="InvokeSubJourney">
  49.           <JourneyList>
  50.             <Candidate SubJourneyReferenceId="TotpFactor-Input" />
  51.           </JourneyList>
  52.         </OrchestrationStep>
  53.         <!-- Call the TOTP validation sub journey-->
  54.         <OrchestrationStep Order="6" Type="InvokeSubJourney">
  55.           <JourneyList>
  56.             <Candidate SubJourneyReferenceId="TotpFactor-Verify" />
  57.           </JourneyList>
  58.         </OrchestrationStep>
  59.         <OrchestrationStep Order="7" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer" />
  60.       </OrchestrationSteps>
  61.     </UserJourney>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement