Yes, you should, and you can. This is what the Discourse SSO protocol is for. That linked topic is written from the perspective of Discourse authenticating to an external auth provider, but Discourse can also act as the auth provider to a different app (an example of which is the discourse-auth-proxy, using the same protocol.
相关话题
话题 | 回复 | 浏览量 | 活动 | |
---|---|---|---|---|
Discourse sso login using Rest API | 1 | 2449 | 2017 年4 月 11 日 | |
Use Discourse as an identity provider (SSO, DiscourseConnect) | 143 | 48702 | 2024 年11 月 9 日 | |
Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso) | 36 | 447461 | 2025 年8 月 11 日 | |
Use discourse for SSO in a non-web app? | 12 | 4607 | 2022 年8 月 5 日 | |
Can I use the Discourse API to authenticate users in another app? | 17 | 2495 | 2023 年7 月 1 日 |