Skip to content

Rails app that runs the TestFormVendor.com OpenID Connect Sample app

Notifications You must be signed in to change notification settings

sparkapi/testformvendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestFormVendor

Rails app that runs the TestFormVendor.com OpenID Connect Sample app

OpenID Connect Relying Party Walkthrough

A few files are noteworthy in checking out for wring your own RP application:

  • Main Controller -- Authorization Code flow happens here
  • Index View -- Sets up the log in event for a chosen OIDC Provider
  • Callback View -- The callback for OIDC. This has two separate views. One using the javascript lib for Implicit and Hybrid flows, and one displaying server-side controller variables when using Authorization Code

Running this app locally

  • Install gems:

$ bundle install

  • Set up the SQLite DB

$ bundle exec rake db:migrate

  • Add a user for yourself

$ bundle exec rake "user:create[[email protected],My Name,passw0rd]"

(If you do not specify a password, one will be randomly generated and printed)

  • Run a local rails server

$ bundle exec rails server

Submitting Patches

  • Fork the testformvendor repo
  • Create a feature branch in your local clone
  • Submit a pull request

About

Rails app that runs the TestFormVendor.com OpenID Connect Sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published