Auth0 Home Blog Docs

WebAuth: A Separate Sign Up Link redux

signup
webauth

#1

I was trying to reply to the thread:


but it looks like that thread is closed.

I think the original poster had it right. I’d like to have “Sign Up” be the default tab using WebAuth. I’m using the below configuration parameters. But the initialScreen parameter has no effect.

  auth0 = new auth0.WebAuth({
    domain: AUTH_CONFIG.domain,
    clientID: AUTH_CONFIG.clientId,
    redirectUri: AUTH_CONFIG.callbackUrl,
    audience: AUTH_CONFIG.apiUrl, 
    responseType: 'token id_token',
    initialScreen: 'signUp',
    scope: 'openid profile email'
  })