# Can Discourse be used as an OAuth provider?

**URL:** <https://meta.discourse.org/t/can-discourse-be-used-as-an-oauth-provider/43872>\
**Category:** SSO\
**Created:** [Maio 7, 2016, 5:35pm UTC](https://meta.discourse.org/t/can-discourse-be-used-as-an-oauth-provider/43872 "2016-05-07T17:35:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sdpiowa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sdpiowa/32/242915_2.png) [@sdpiowa](https://meta.discourse.org/u/sdpiowa)\
**Post date:** [Maio 7, 2016, 5:35pm UTC](https://meta.discourse.org/t/can-discourse-be-used-as-an-oauth-provider/43872/1 "2016-05-07T17:35:41Z")

</div>

Can Discourse function as an oAuth provider for a system like Rocket.Chat? I’m still trying to figure out what the difference is between oAuth, SSO, and what all the terminology means. Basically, we need Discourse to host the user database, and another chat system (maybe Rocket.Chat, maybe something else) to patch into that database for authentication purposes.

Not really sure what values would need to go where on Rocket.Chat’s end for testing purposes:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/d/dd1750dab830bbd74a90d0e2ea68a40bb8c82a6f.png)

Apologies for my ignorance. This is all new to me. I was trying to follow some of the instructions in other threads, but wasn’t getting very far because they were addressing slightly different situations.

---

_[View the full topic](https://meta.discourse.org/t/can-discourse-be-used-as-an-oauth-provider/43872)._
