Skip to content

rghose/omniauth-openam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omniauth-openam

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/

Install and use

1. Add the OmniAuth OpenAM REST plugin to your Gemfile

gem 'omniauth', '>= 1.0.0'  # We depend on this
gem "omniauth-openam"

2. You will need to configure OmniAuth to use your OpenAM authentication.

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.

About

This is a ruby gem for omnaiuth providing basic login with OpenAM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages