# Discourse、Keycloak、SAML 与 OAuth

**URL:** https://meta.discourse.org/t/discourse-keycloak-saml-vs-oauth/165187
**Category:** Support
**Created:** [2020年九月24日 07:56 UTC](https://meta.discourse.org/t/discourse-keycloak-saml-vs-oauth/165187 "2020-09-24T07:56:07Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [2020年九月24日 08:39 UTC](https://meta.discourse.org/t/discourse-keycloak-saml-vs-oauth/165187/4 "2020-09-24T08:39:32Z")

</div>

我建议从以下链接开始：

> [@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…

然后使用[这些说明](https://www.keycloak.org/docs/latest/securing_apps/#endpoints-2)查找 OpenID 发现文档的 URL。

---

_[View the full topic](https://meta.discourse.org/t/discourse-keycloak-saml-vs-oauth/165187)._
