I direct users to Universal Login in my Express app with the standard /login and /callback routes. I’m now trying to create a /signup route that will go directly to the Sign Up tab on the Universal Login page.
From some other forum posts (here and here) it looks like this is possible using webAuth or a custom signup, but I haven’t been able to find any documentation of this being possible with Express, hoping to get some help on this (or confirmation it’s not currently possible?).
In my mind the routes would be differentiated like this:
…with the Universal Login page getting initialScreen: config.extraParams.mode, added to options.
However that’s not working. I also tried changing the value of initialScreen in the Passport authentication strategy but doesn’t seem I can affect settings there either. The only way I’ve been able to change it has been by customizing the Universal Login page, but then it always goes to sign up so isn’t really the solution.