Ruby Toolkit

Code Your Ruby App to Provide SSO via OneLogin

Get the toolkit: GitHub

Using the Toolkit

The lib folder contains the files you’ll copy into your Rails application. But first, let’s take a look at the sample application located here. It’s a ready-to-run SAML relying party (or service provider). The saml_controller.rb file contains all of the logic needed to authenticate using SAML: