Reputation: 13
Is it possible to integrate Single Sign on based authentication in RefineryCMS? Any help would be appreciated.
Upvotes: 0
Views: 208
Reputation: 91
Philip Arndt and i have created a Solidus (https://solidus.io/) and Refinery CMS (http://refinerycms.com/) single authentication with Devise :
https://github.com/refinerycms-contrib/solidus-refinery-authentication
It should help you to create your own authentication with Devise.
Upvotes: 1
Reputation: 1773
I just implemented an SSO solution. In my case I could take advantage of Spnego being in the request stack, so it added a header to the request with the authenticated user id.
Refinery uses devise, which ultimately uses zilch-authentication. In my case, I specialized the zilch user and zilch authentication adapter classes to read this header.
Sorry in this case I am not allowed to share my code with you, but it was dead easy, once I knew about zilch. I hope that's enough of a clue
Upvotes: 0
Reputation: 16
As version 3.0 or RefineryCMS has extracted authentication system from core, you should be able to implement any custom authentication system, even SSO. You can check https://github.com/refinery/refinerycms-authentication-devise as a start example.
Upvotes: 0