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) | 11 | 438397 | December 21, 2024 | |
Create a DiscourseConnect login link | 6 | 5191 | September 25, 2024 | |
Use Discourse as an identity provider (SSO, DiscourseConnect) | 143 | 47310 | November 9, 2024 | |
Discourse a SSO provider for Wordpress | 10 | 5721 | May 23, 2020 | |
Discourse doesn't redirect to return_sso_url after user logs in on private site | 5 | 3987 | November 29, 2018 |