title: Azure AD B2C signUp
body: <p>I have configured an application in the Azure portal and set necessary user policies: signing and signup, password reset. I have chosen the user policy for sign-in and sign-up together. I have created a sample Nodejs app referring to the Microsoft documentation for azure b2c, its as follows,</p>
  <pre><code>const express = require(&quot;express&quot;);
  const msal = require('@azure/msal-node');
  
  const SERVER_PORT = process.env.PORT || 3000;
  
  // Create Express App and Routes
  const app = express();
  
  
  const config = {
      auth: {
          clientId: &quot;******&quot;,
          authority: &quot;https://login.microsoftonline.com/&lt;tenantid&gt;&quot;,
          clientSecret: &quot;*****&quot;
      },
      system: {
          loggerOptions: {
              loggerCallback(loglevel, message, containsPii) {
                  console.log(message);
              },
              piiLoggingEnabled: false,
              logLevel: msal.LogLevel.Verbose,
          }
      }
  };
  
  
  // Create msal application object
  const cca = new msal.ConfidentialClientApplication(config);
  
  app.get('/', (req, res) =&gt; {
      const authCodeUrlParameters = {
          scopes: [&quot;user.read&quot;],
          redirectUri: &quot;http://localhost:3000/auth/openid/return&quot;,
      };
  
      // get url to sign user in and consent to scopes needed for application
      cca.getAuthCodeUrl(authCodeUrlParameters).then((response) =&gt; {
          res.redirect(response);
      }).catch((error) =&gt; console.log(JSON.stringify(error)));
  });
  
  app.get('/auth/openid/return', (req, res) =&gt; {
      const tokenRequest = {
          code: req.query.code,
          scopes: [&quot;user.read&quot;],
          redirectUri: &quot;http://localhost:3000/auth/openid/return&quot;,
      };
  
      cca.acquireTokenByCode(tokenRequest).then((response) =&gt; {
          console.log(&quot;\nResponse: \n:&quot;, response);
          res.sendStatus(200);
      }).catch((error) =&gt; {
          console.log(error);
          res.status(500).send(error);
      });
  });
  
  app.listen(SERVER_PORT, () =&gt; console.log(`Msal Node Auth Code Sample app listening on port ${SERVER_PORT}!`))
  </code></pre>
  <p>With this code, I'm able to view the sign-in/ login page but I'm not sure how to bring the signup option here so that I can register a user with the tenant using an identity provider. How can I get a signup page/option here? Can someone help me figure out this?</p>