# Discourse Login using external API

**URL:** https://meta.discourse.org/t/discourse-login-using-external-api/181773
**Category:** Development
**Created:** [March 3, 2021, 2:36pm UTC](https://meta.discourse.org/t/discourse-login-using-external-api/181773 "2021-03-03T14:36:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [March 3, 2021, 2:56pm UTC](https://meta.discourse.org/t/discourse-login-using-external-api/181773/2 "2021-03-03T14:56:28Z")

</div>

There are loads of solutions here, some for proprietary systems like Discord which I believe is now native, but there is also an OIDC plugin, which is the right way to go if you can use it:

> [@Discourse OpenID Connect (OIDC)](https://meta.discourse.org/t/openid-connect-authentication-plugin/103632):
>
> discourse2Summary Discourse OpenID Connect allows an OpenID Connect provider to be used as an authentication provider for Discourse.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features The plugin aims to provide a minimal implementation of [the specification](https://openid.net/specs/openid-connect-basic-1_0.html). Specifically, it supports the “Authorization Code Flow”. To get started, follow [the plugin installation instructions](https://meta.discourse.org/t/install-plugins-in-discourse/19157), or contact your hosti…

---

_[View the full topic](https://meta.discourse.org/t/discourse-login-using-external-api/181773)._
