OIDC Ruby

Version 1.0 Released July 25, 2022

View on Github

This is a sample OpenID Connect seed Ruby Web App built with Sinatra

You will need an ID.me developer account to complete this process

Prerequisites

You must have ruby and rubygems installed

Installation

1

Download the code

2

Install the required gems:

$gem install sinatra
$gem install rackup
$gem install oauth2
$gem install httparty
3

Configure your oauth settings in `app.rb’ with the values provided in your developer account

1client_id = "YOUR_CLIENT_ID"
2client_secret = "YOUR_CLIENT_SECRET"
3scope = "YOUR_SCOPE_VALUE"
4

View the app at http://localhost:4567