Using Discourse Forum as SAML/SSO for Netlify Site

Currently, I have:

  1. A main-domain website hosted on Netlify, without any identify services (yet).

  2. A subdomain where a discourse forum is hosted, and has quite a few regular participants.

I’m looking into ways to integrate between 1 and 2 to improve user experience across both places. One thing that would be nice is to link visits in both places by the same user together. I also want to minimize the number of logins associated with my sites, ideally keeping it to just one.

Using the discourse forum as a SSO server for the main netlify site seems like one path to accomplish some of these goals.