This is a sample OpenID Connect seed Ruby Web App built with Sinatra
In order to run the example you need to have ruby and rubygems installed.
First, install the required gems
gem install sinatra
gem install rackup
gem install oauth2
gem install httparty
Next, configure your oauth settings in app.rb
client_id = "YOUR_CLIENT_ID"
client_secret = "YOUR_CLIENT_SECRET"
scope = "YOUR_SCOPE_VALUE"
Run the following command:
ruby app.rb
Start the server and view the app at http://localhost:4567