title: How to make user return on login page after sign-up in Azure AD B2C?
body: <p>When a user is signing-up in the system, he is automatically redirected to our application as a signed in user. I would like that after the sign-up, he is redirected to the signing page. I want this behavior since users need to be approved by an admin before having access to the system. I use custom policies.</p>
  <p>I tried to use the &quot;SM-Noop&quot; session manager but it is not working. There is my code:</p>
  <pre><code>&lt;!--Local account sign-up page--&gt;
      &lt;TechnicalProfile Id=&quot;LocalAccountSignUpWithLogonEmail&quot;&gt;
        &lt;OutputClaims&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;email&quot; PartnerClaimType=&quot;Verified.Email&quot; Required=&quot;true&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;newPassword&quot; Required=&quot;true&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;reenterPassword&quot; Required=&quot;true&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;mobile&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;extension_phoneExtension&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;givenName&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;surName&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;extension_company&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;streetAddress&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;city&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;state&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;country&quot; /&gt;
          &lt;OutputClaim ClaimTypeReferenceId=&quot;postalcode&quot; /&gt;
        &lt;/OutputClaims&gt;
        &lt;UseTechnicalProfileForSessionManagement ReferenceId=&quot;SM-Noop&quot; /&gt;
      &lt;/TechnicalProfile&gt;
  </code></pre>
  <p><strong>Edit1:</strong>
  The solution seems to be to add orchestrationSteps. There is a link doing that but with a password reset: <a href="http://www.stackoverflow.com/a/62878136">www.stackoverflow.com/a/62878136</a>
  In my case, it is not working since I can't add two CombinedSignInAndSignUp in the same userJourney so it crashes. Any other idea?</p>
  <p><strong>Edit2:</strong>
  There is my policy for the SignUpSignIn:</p>
  <pre><code> &lt;UserJourney Id=&quot;SignUpOrSignIn&quot;&gt;
    &lt;OrchestrationSteps&gt;
  
      &lt;OrchestrationStep Order=&quot;1&quot; Type=&quot;CombinedSignInAndSignUp&quot; ContentDefinitionReferenceId=&quot;api.signuporsignin&quot;&gt;
        &lt;ClaimsProviderSelections&gt;
          &lt;ClaimsProviderSelection ValidationClaimsExchangeId=&quot;LocalAccountSigninEmailExchange&quot; /&gt;
        &lt;/ClaimsProviderSelections&gt;
        &lt;ClaimsExchanges&gt;
          &lt;ClaimsExchange Id=&quot;LocalAccountSigninEmailExchange&quot; TechnicalProfileReferenceId=&quot;SelfAsserted-LocalAccountSignin-Email&quot; /&gt;
        &lt;/ClaimsExchanges&gt;
      &lt;/OrchestrationStep&gt;
  
      &lt;OrchestrationStep Order=&quot;2&quot; Type=&quot;ClaimsExchange&quot;&gt;
        &lt;Preconditions&gt;
          &lt;Precondition Type=&quot;ClaimsExist&quot; ExecuteActionsIf=&quot;true&quot;&gt;
            &lt;Value&gt;objectId&lt;/Value&gt;
            &lt;Action&gt;SkipThisOrchestrationStep&lt;/Action&gt;
          &lt;/Precondition&gt;
        &lt;/Preconditions&gt;
        &lt;ClaimsExchanges&gt;
          &lt;ClaimsExchange Id=&quot;SignUpWithLogonEmailExchange&quot; TechnicalProfileReferenceId=&quot;LocalAccountSignUpWithLogonEmail&quot; /&gt;
        &lt;/ClaimsExchanges&gt;
      &lt;/OrchestrationStep&gt;
  
      &lt;!-- This step reads any user attributes that we may not have received when in the token. --&gt;
      &lt;OrchestrationStep Order=&quot;3&quot; Type=&quot;ClaimsExchange&quot;&gt;
        &lt;ClaimsExchanges&gt;
          &lt;ClaimsExchange Id=&quot;AADUserReadWithObjectId&quot; TechnicalProfileReferenceId=&quot;AAD-UserReadUsingObjectId&quot; /&gt;
        &lt;/ClaimsExchanges&gt;
      &lt;/OrchestrationStep&gt;
  
      &lt;OrchestrationStep Order=&quot;4&quot; Type=&quot;SendClaims&quot; CpimIssuerTechnicalProfileReferenceId=&quot;JwtIssuer&quot; /&gt;
  
    &lt;/OrchestrationSteps&gt;
    &lt;ClientDefinition ReferenceId=&quot;DefaultWeb&quot; /&gt;
  &lt;/UserJourney&gt;
  </code></pre>
  <p>Still trying to figure out what to put in Order=&quot;5&quot; and so on in my TrustFrameworkExtensions.xml</p>