Conditionally Render Based on Redirect

We want to conditionally render our Auth0Lock to have a allowSignUp.

http://localhost:3000/auth/auth0?allowSignUp=false

Then in the lock code.


var allowSignUp = config.allowSignUp ?? true;

Is this possible to do?