Skip to content

Instantly share code, notes, and snippets.

@zmajstor zmajstor/
Created Feb 17, 2015

What would you like to do?
AAI@EduH authentication for Ruby on Rails apps
class Account < ActiveRecord::Base
def self.get_saml_settings
settings =
# Example settings data for your consumer endpoint, replace this values:
settings.assertion_consumer_service_url = ""
settings.assertion_consumer_logout_service_url = ""
settings.issuer = ""
# AAI@EduH IdP metadata from
settings.idp_sso_target_url = ""
settings.idp_slo_target_url = ""
settings.idp_cert_fingerprint = "5a393bbbf6bcdce1877a63092b89b7202307dd82"
settings.name_identifier_format = "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.