The omniauth-openam library is an OmniAuth provider that supports authentication against OpenAM REST apis.
* Documentation: github.com/rghose/omniauth-openam * OmniAuth: github.com/intridea/omniauth/
gem 'omniauth', '>= 1.0.0' # We depend on this gem "omniauth-openam"
This is generally done in Rails in the config/initializers/omniauth.rb with…
Rails.application.config.middleware.use OmniAuth::Builder do provider :openam, name: "openam", :openam_url =>"https://mycompanyname.com/openam", :redirect_url => "http://myrelyingparty.com/path" end
You will need to supply the correct server URL and redirect URL
Copyleft 2014 Rahul Ghose. See LICENSE.txt for further details.