Skip to content

Example OpenID Connect relying party as a Sinatra app

License

Notifications You must be signed in to change notification settings

eileen-nava/identity-oidc-sinatra

 
 

Repository files navigation

identity-openidconnect-sinatra

An example of a Relying Party for OpenID Connect written as a simple Sinatra app in Ruby.

Running locally

These instructions assume identity-idp is also running locally at http://localhost:3000 .

  1. Set up the environment with:
$ make setup
  1. And run the app server:
$ make run
  1. To run specs:
$ make test

This sample service provider is configured to run on http://localhost:9292 by default. Optionally, you can assign a custom hostname or port by passing HOST= or PORT= environment variables when starting the application server.

Contributing

See CONTRIBUTING for additional information.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

Example OpenID Connect relying party as a Sinatra app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 57.8%
  • HTML 36.6%
  • CSS 3.0%
  • Makefile 1.7%
  • Shell 0.9%