# 通过第三方API启用Discourse登录

**URL:** <https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130>\
**Category:** SSO\
**Tags:** rest-api\
**Created:** [2022年八月25日 05:54 UTC](https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130 "2022-08-25T05:54:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ghassan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghassan/32/263566_2.png) [@ghassan](https://meta.discourse.org/u/ghassan)\
**Post date:** [2022年八月25日 08:50 UTC](https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130/2 "2022-08-25T08:50:23Z")

</div>

我可能不太明白情况……

我的理解是，您正在将 Discourse 用作您两个应用程序的身份提供者（[将 Discourse 用作身份提供者 (SSO - DiscourseConnect)](https://meta.discourse.org/t/using-discourse-as-an-identity-provider-sso-discourseconnect/32974)）……然后您想使用另一个第三方应用程序作为身份提供者？

换句话说，用户可以通过 Discourse 或第三方应用程序访问您的应用程序？

---

_[View the full topic](https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130)._
