Combine invite & sso account creation?

Hi All,

just wanted to ask, if I could combine the two mechanisms in that way

  1. People can create account, if they are invited by moderator or admin
  2. People can create account, if they login over discord (restricted to discord guild)
  3. People cannot create account over SignUp Button (not public)

At the moment when I switch the invite option on, they cannot create their account over discord. When I switch it off, everybody can SignUp publicly (approval required, of course, but not wanted)

Thanks and Cheers,