Hide an Authentication Method from the UI

:discourse2: Summary Hide an Authentication Method from the UI - Some forums will have multiple authentication methods configured, one of which is designed only for staff-only. In that case, this theme component can hide this method from the UI to avoid confusion for end users.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-hide-auth-method
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

After installing, enable the component on all themes, then configure the hidden auth method names theme setting.

For example, if you want to hide the OpenID Connect button from the UI, you would enter oidc in the setting.

For people that need to use the hidden method, they can visit /auth/oidc directly to start the login flow.

12 Likes