# Custom oAuth provider support

**URL:** <https://forum.mattermost.com/t/custom-oauth-provider-support/8489>\
**Category:** Troubleshooting\
**Created:** [November 18, 2019, 5:24pm UTC](https://forum.mattermost.com/t/custom-oauth-provider-support/8489 "2019-11-18T17:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wallop](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@wallop](https://forum.mattermost.com/u/wallop)\
**Post date:** [November 18, 2019, 5:24pm UTC](https://forum.mattermost.com/t/custom-oauth-provider-support/8489/1 "2019-11-18T17:24:02Z")

</div>

Testing out mattermost to replace rocketchat, and was surprised to see no support for custom oAuth providers. Is this on the roadmap? Example below for Office365

It solves the need to add individual plugins if a generic solution is available:

> [@Gitea OAuth2 Provider support](https://forum.mattermost.com/t/gitea-oauth2-provider-support/7179):
>
> The team edition currently only supports GitLab as an OAuth2 provider. This is very limiting. Gitea is a really great and popular open source, community supported Git server. I would love to see Mattermost support for using Gitea as an OAuth2 Provider. See my proposal here:

![](https://user-images.githubusercontent.com/533852/43657484-9be66d5a-971b-11e8-810e-fcc449dc8d34.png)

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [November 19, 2019, 1:06am UTC](https://forum.mattermost.com/t/custom-oauth-provider-support/8489/2 "2019-11-19T01:06:08Z")

</div>

Hi @wallop Enterprise Edition currently supports SSO with LDAP, Gitlab, Google, Office365 and generic SAML. Generic OAuth2 is under consideration for Enterprise Edition as well.

Note: For a single-sign-on experience with Mattermost Team Edition, you can connect to other applications using Mattermost as an OAuth2 provider: [https://docs.mattermost.com/developer/oauth-2-0-applications.html](https://docs.mattermost.com/developer/oauth-2-0-applications.html)
