Self Service Registration as a landing page

Hi,

I want to have the registration form as a landing, without needing to click the sign up.
I’m currently using a hack to switch automatically to the registration page after render occurs, like in the below example.
But I’d really want it to be clean and have a OktaSignIn configuration deciding which of the form is the default.
Is there a way to do it?

Thanks,
Shahar.

      if (context.controller !== 'primary-auth') {
        return;
      }

      document.getElementsByClassName('registration-link')[0].click();
    });

This is not something we support now, but we hope to in the future.