# Discourse SSO with OAuth2

**URL:** https://meta.discourse.org/t/discourse-sso-with-oauth2/132384
**Category:** Support
**Created:** [November 1, 2019, 10:36am UTC](https://meta.discourse.org/t/discourse-sso-with-oauth2/132384 "2019-11-01T10:36:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [November 1, 2019, 10:50am UTC](https://meta.discourse.org/t/discourse-sso-with-oauth2/132384/2 "2019-11-01T10:50:01Z")

</div>

For OAuth2 connection to your own site, you could use this plugin

> [@Discourse OAuth2 Basic](https://meta.discourse.org/t/oauth2-basic-support/33879):
>
> discourse2Summary Discourse OAuth2 Basic supports basic OAuth2 providers, assuming they have a JSON API endpoint where user details can be retrieved by token.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features This plugin allows you to use a basic OAuth2 provider as authentication for Discourse. It should work with many providers, with the caveat that they must provide a JSON endpoint for retri…

“Login with GitHub” is built-in to discourse, and you can find setup instructions here:

> [@Configure GitHub login for Discourse](https://meta.discourse.org/t/configuring-github-login-for-discourse/13745):
>
> bookmark This guide explains how to set up GitHub as a login option for your Discourse forum by configuring OAuth credentials. person_raising_hand Required user level: Administrator Overview GitHub login integration allows users to sign in to your Discourse site using their GitHub accounts. This provides a convenient authentication option, especially useful for developer-focused communities. Setting up GitHub OAuth Visit GitHub’s developer settings at https://github.com/settings/dev…

---

_[View the full topic](https://meta.discourse.org/t/discourse-sso-with-oauth2/132384)._
