Skip to content

mlibrary/oidc_omniauth_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oidc_omniauth_demo

This is a demo of how to do authentication with OpenID Connect with omniauth. It has been tested with the Library OpenID Connect proxy to University of Michigan weblogin (https://shibboleth.umich.edu), but it should work with any OpenID Connect provider.

To build

  1. Clone the repository
  2. create a .env file with the following values
OIDC_ISSUER=
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=

For authentication in the Library, get these from A&E.

  1. build the image
docker compose build
  1. start the site
docker compose up
  1. Go to http://localhost:4567

Where to see the code

The main code is in oidc_demo.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages