Last active
December 26, 2015 05:39
-
-
Save dpogorzelski/7102742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OmniAuth::Strategies | |
class Foo < Shibboleth | |
def name | |
:foo | |
end | |
end | |
class Bar < Shibboleth | |
def name | |
:bar | |
end | |
end | |
end | |
Rails.application.config.middleware.use OmniAuth::Builder do | |
provider :foo, { | |
:shib_session_id_field => "Shib-Session-ID", | |
:shib_application_id_field => "Shib-Application-ID", | |
:debug => false | |
} | |
provider :bar, { | |
:shib_session_id_field => "Shib-Session-ID", | |
:shib_application_id_field => "Shib-Application-ID", | |
:debug => false | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment