# 如何用论坛程序实现单点登录？

**URL:** https://meta.discourse.org/t/how-to-do-single-sign-on-with-forum-program/327345
**Category:** Development
**Tags:** sso
**Created:** [2024年九月20日 04:13 UTC](https://meta.discourse.org/t/how-to-do-single-sign-on-with-forum-program/327345 "2024-09-20T04:13:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2024年九月20日 05:10 UTC](https://meta.discourse.org/t/how-to-do-single-sign-on-with-forum-program/327345/2 "2024-09-20T05:10:36Z")

</div>

您需要的所有信息都在这里

> [@Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/setup-discourseconnect-official-single-sign-on-for-discourse-sso/13045):
>
> [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) is a core Discourse feature that allows you to configure “Single Sign-On (SSO)” to completely outsource all user registration and login from Discourse to another site. Offered to our [pro, business and enterprise hosting customers](https://discourse.org/pricing). information_source (Feb 2021) ‘[Discourse SSO](https://meta.discourse.org/t/13045?silent=true)’ is now ‘[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true)’. If you are running an old version of Discourse, the settings below will be named sso\_... rather than discourse\_connect\_... The Problem Many sites wishing to integrate wit…

> [@Discourse REST API Documentation](https://meta.discourse.org/t/discourse-rest-api-documentation/22706):
>
> Discourse API Please view the Discourse API Documentation site for detailed info: [https://docs.discourse.org](https://docs.discourse.org)warning Deprecation Warning! On April 6th, 2020 we dropped support for all non-HTTP header based authentication (excluding some rss, mail-receiver, and ics routes). This means that API requests that have an api\_key and api\_username in the query params or in the HTTP body of the request will soon stop working. Please see the example cURL request below for how to update your API requ…

---

_[View the full topic](https://meta.discourse.org/t/how-to-do-single-sign-on-with-forum-program/327345)._
