Skip to content

The minimal sample application with SAML written by ruby.

Notifications You must be signed in to change notification settings

aibou/sinatra-saml-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The minimal sample application with SAML written by ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages