Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 485 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 485 Bytes

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