Skip to navigation

Ruby

Version 1.0 Released July 11, 2017

View on Github

This is a sample 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 bundler
bundle install
3

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

# app.rb
client_id = "YOUR_CLIENT_ID"
client_secret = "YOUR_CLIENT_SECRET"
scope = "YOUR_SCOPE_VALUE"
4

Start the server

ruby app.rb
5

View the app at http://localhost:4567