SAML 2.0 SSO for Ruby on Rails? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this questionWhere can I dig up a Ruby or Ruby on Rails library for SAML 2.0 SSO. I have a set of enterprise applications that are to be built but need to have federated login from a central authentication system. I have used SAML 1.1 and SAML 2.0 in a Microsoft .Net environment but have yet to see a library that handles both SAML Providers and Consumers for Ruby on Rails. Can someone point me in the right direction or tell me if I need to build the library myself?
I played with this one once: https://github.com/onelogin/ruby-saml It might be what you're looking for.
AssureBridge SSOExchange is a service that supports SAML 1.1 and 2.0. It is available with a simple Ruby connector that integrates simply into Ruby apps without the need for the developer to know any SAML. It typically requires only a few lines of code in you r application.
Check it out at: http://www.assurebridge.com/integrations/
The best places to look are Ruby Toolbox and Rubygems.org - if it's not there, you may try Github, but your chances are slim now.
My rule is: estimate how long it would take you to build it yourself. If you have spend a reasonable amount of time (say, 10%) on finding an existing solution, but none is out there (or working), then code it yourself.
精彩评论