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.

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