The minimal sample application with SAML written by ruby.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Gemfile
README.md
configuration.png
sample.rb

README.md

sinatra-saml-sample

The minimal sample application with SAML written by ruby.

Configuration

  1. Add an app (choose "SAML Test Connector (IdP)")
  2. Rewrite sample.rb:
- app_id = YOUR_APP_ID
+ app_id = 123456 # it's dummy number
idp_cert = <<-EOS
- ###### COPY Certificate from OneLogin
+ -----BEGIN CERTIFICATE-----
+ hogefugapiyo
+ -----END CERTIFICATE-----
EOS
  1. Set parameters to OneLogin:

  2. Run app

ruby sample.rb -p 3000