Keycloak with Discourse

OAuth2 plugin is an auth strategy (like Facebook, Twitter, etc) while SSO is another thing.

You want one or another. You can’t use both.