For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Contact UsSign In
HomeIntegrationsGuidesBrand Assets
HomeIntegrationsGuidesBrand Assets
  • Supported Applications
    • Overview
    • Shopify
    • Azure
  • Configurations
    • Overview
    • Configuration Standards
  • Deploy and Monitor
    • Overview
    • Quality Assurance Testing
    • Launching in Production
    • Monitoring Performance
    • Conversion Tracking
    • Help
  • Sample Code
    • Overview
      • Python
      • PHP
      • Ruby
      • Ruby on Rails
      • React Axios
      • JavaScript
      • jQuery
      • OIDC Ruby
  • Terms of Service
    • Developers
    • Partners
LogoLogo
Contact UsSign In
On this page
  • Prerequisites
  • Installation
Sample CodeOptions

OIDC Ruby

Was this page helpful?
Edit this page
Previous

Developer sandbox agreement

Next
Built with

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