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.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Discourse sso login using Rest API | 1 | 2446 | April 11, 2017 | |
Use Discourse as an identity provider (SSO, DiscourseConnect) | 143 | 48471 | November 9, 2024 | |
Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso) | 32 | 445787 | July 2, 2025 | |
Use discourse for SSO in a non-web app? | 12 | 4599 | August 5, 2022 | |
Can I use the Discourse API to authenticate users in another app? | 17 | 2394 | July 1, 2023 |