# Hide Auth Method

**URL:** https://meta.discourse.org/t/hide-auth-method/227584
**Category:** Theme component
**Tags:** official, hide-auth
**Created:** [May 20, 2022, 10:16am UTC](https://meta.discourse.org/t/hide-auth-method/227584 "2022-05-20T10:16:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [May 20, 2022, 10:16am UTC](https://meta.discourse.org/t/hide-auth-method/227584/1 "2022-05-20T10:16:06Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Hide Auth Method** allows authentication methods to be hidden from the UI |
| 🛠 | **Repository Link** | [https://github.com/discourse/discourse-hide-auth-method](https://github.com/discourse/discourse-hide-auth-method) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

> [@](#):
>
> :discourse2: As this is an #official theme component maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=hide-auth "Ask for support on configuring and using Hide Auth Method") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=hide-auth "A bug report means something is broken, preventing normal/typical use of the theme component") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=hide-auth "Discussion about the user interface of Hide Auth Method, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=hide-auth "Discussion about how existing Hide Auth Method features can be improved or enhanced, and how proposed new features could work")

### 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 document**
> >
> > Perform check on document:
