Clarify Organisation Invite Parameters

When following the invite link I keep getting the default Organization login screen and not signup screen. I’m passing the below but couldn’t find what the correct options should look like. Any ideas? thanks

let loginOptions = {
appState: {

      },
      invitation: invitation,
      organization: organization,
      organization_name: organizationName
    };

    this.auth.loginWithRedirect(loginOptions);