Default SignIn Widget to the Self Registration Form


#1

We are using the signin widget just fine and have enabled self registration. The Sign Up link works fine and shows the registration page correctly.

Is there a way to initialize the widget via the config parameter to show the registration form initially, saving the user from clicking Sign Up?

Our use case is to split login and registration as two different flows, and want the initial state of the form to match those flows.

var signInConfig = {
logo: ‘’,
baseUrl: ‘’,
features: {
// Used to enable registration feature on the widget.
// https://github.com/okta/okta-signin-widget#feature-flags
registration: true
}
};
var signIn = new OktaSignIn(signInConfig);