来自 Thinkific 的 SSO

any luck setting SSO from thinkific to discourse?
We are using thinkific for online courses and would love to have users create account/log in on thinkific site and automatically signed on to discourse for the community feature.

Do I need to configure anything on thinkific site or the config on discourse site will do the trick?
I read the official SSO implementation post but am still not sure what is required for the SSO URL (discuss.example.com/discuss/sso)
any help will be greatly appreciated. thank you all this is by far the best option i found.

Wondering if you ever found out if this is possible?

我也在寻找这样的实现方案。看起来 Thinkific 的文档针对的是与我们相反的场景(即我们希望将 Thinkific 作为认证的唯一真实来源,而他们假设您已有其他认证来源)。

这或许能帮到你。我记得之前遇到了一些小问题,但具体细节记不清了。

非常感谢!我实际上通过一些变通方法解决了这个问题。我会整理并将在 GitHub 上发布相关代码,然后在这里附上链接。

@ethandrower。我遇到了一个问题:我的解决方案只有在用户登录 Discourse 时才会登录 Thinkific。由于 Thinkific 会在浏览器关闭时登出,用户必须退出并重新登录 Discourse,才能再次登录 Thinkific。你解决这个问题了吗?

@pfaffman 我采用的方法是:用户仅登录 Thinkific(Discourse 没有注册/登录流程)。你可以通过将 SSO 设置指向一个中间服务器来消除这一环节。

流程大致如下:用户在 Discourse 上点击登录 → 转发至你的服务器以启动 SSO 流程 → 重定向到 Thinkific 页面进行登录。

这种方式需要投入更多工作,但这是我找到的唯一能实现从 Thinkific 发起 SSO 的方案(此时 Thinkific 是权威数据源)。

我已开始撰写一篇关于此的博客文章,并计划今天完成,或许能对你有所帮助。

跟进一下……你完成这篇博客文章了吗?:slight_smile:

@ethandrower 您对此有任何更新吗?我也正在尝试将 Thinkific 的单点登录(SSO)配置到 Discourse,如果您能提供任何解决方案,我们将不胜感激!

我编写了上面链接的插件;它可以在某些限制下运行(主要是 Thinkific 的登录会超时,而重新登录的唯一方式是先退出 Discourse 再重新登录)。我现在知道如何以更好的方式编写它了(为 Thinkific 添加一个可触发的路由来启动登录)。如果您有预算,请联系我。