RefineryCMS 中基于集成身份验证的单点登录?

Single Sign on integration based authentication in RefineryCMS?

是否可以在 RefineryCMS 中集成基于单点登录的身份验证?任何帮助将不胜感激。

由于版本 3.0 或 RefineryCMS 从核心中提取了身份验证系统,您应该能够实现任何自定义身份验证系统,甚至 SSO。您可以检查 https://github.com/refinery/refinerycms-authentication-devise 作为开始示例。

我刚刚实施了 SSO 解决方案。在我的例子中,我可以利用 Spnego 在请求堆栈中的优势,因此它向具有经过身份验证的用户 ID 的请求添加了 header。

炼油厂使用设计,最终使用 zilch-authentication。就我而言,我专门使用了 zilch 用户和 zilch 身份验证适配器 类 来读取此 header.

抱歉,在这种情况下,我不能与您分享我的代码,但一旦我了解了 zilch,这就变得非常容易了。我希望这是足够的线索

Philip Arndt 和我使用 Devise 创建了 Solidus (https://solidus.io/) and Refinery CMS (http://refinerycms.com/) 单一身份验证:

https://github.com/refinerycms-contrib/solidus-refinery-authentication

它应该可以帮助您使用 Devise 创建自己的身份验证。