Customized login auth plugin

Discourse’s SSO support does exactly this:

1 Like