Hide Auth Method

:discourse2: Summary Hide Auth Method allows authentication methods to be hidden from the UI
: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

Features

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.

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.

Setting

Name Description
hidden auth method names Auth methods which should be hidden. Names can be found from their /auth/{name}/callback URLs

:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-12T22:32:12Z

Check documentPerform check on document:
14 Likes