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 | |
---|---|---|---|---|
Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso) | 7 | 437321 | September 12, 2024 | |
Create a DiscourseConnect login link | 6 | 5091 | September 25, 2024 | |
Use Discourse as an identity provider (SSO, DiscourseConnect) | 143 | 47168 | November 9, 2024 | |
Discourse a SSO provider for Wordpress | 10 | 5714 | May 23, 2020 | |
Discourse doesn't redirect to return_sso_url after user logs in on private site | 5 | 3984 | November 29, 2018 |