Can I require a Discourse login to view things on a different site?


(Daniel) #1

Imagine i have ths

site.com/stuff
discourse.site.com

How can i make it so in orfder for someone to view the content inside “/stuff” be logged in?


(Dean Taylor) #2

There are two types of Discourse SSO (Single Sign On), you want the one where Discourse is the provider:


(Tom Newsom) #3

Does this also work when users authenticate using a third party eg google or facebook?


(system) #4

(Sam Saffron) #5

See also

We use it extensively and allows very seamless integration even with sites that do not implement auth properly.

Other option is SSO as @DeanMarkTaylor pointed out. (technically auth proxy uses SSO its just much easier to configure in certain cases)