Use SSO to auto create Discourse login/password after signed up in my SaaS

AI-generated summary

seanmt is seeking to integrate Discourse into his SaaS, Tykr, as a community feature. He wants to use Single Sign-On (SSO) to auto-create Discourse login/passwords after users sign up for his SaaS, allowing them to access the community feature without creating a second login/password.

The desired user experience is:

  1. User joins Tykr
  2. Clicks the “Community” tab inside Tykr
  3. Can start joining conversations in the Community without creating another login/password

pfaffman recommended using Discourse Connect, requiring seanmt to set up his SaaS as a DiscourseConnect provider.

seanmt is also interested in the user experience on iOS and Android apps, wanting to know how users can access the Discourse community feature after logging in to his apps on these platforms.

I’m asking this question here in Support as I could not find a definitive answer in the community.

In summary, I want Discourse user profiles to be automatically created after a user joins my SaaS. In other words, I will have a community feature in my SaaS. I don’t want my users to be forced to create a second login/and password to use the community feature in my SaaS.

Context: My SaaS is already live at https://tykr.com/. This is a stock screener and educational platform. My users are asking for a community feature where they can discuss stocks, ETFs, crypto, etc. Discourse may be a good option but I want to ensure the user experience is fairly easy.

How I want the user experience to work:

  1. User joins Tykr.
  2. They click the “Community” tab inside Tykr.
  3. They can start joining conversations in the Community without creating another login/password.

Is this possible?

You’ll want to use discourse connect. You’ll need your SaaS to be a Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso) provider.

Thank you, Jay.

And would you happen to know the iOS and Android experience?

Based on my use case, I want users to login to 3 locations:

  1. Web
  2. iPhone
  3. Android

I’m curious to know how the user experience is if a user logins into my iOS and Android app and uses the Discourse community feature?