Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

ministryofjustice/x-moj-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-moj-auth

prototype ruby/rack based auth service

to run the tests: rspec spec

to build the gem: gem build rack_moj_auth.gemspec

to install the gem gem install rack_moj_auth-*.gem

to use the gem, add it to your gemfile gem 'rack_moj_auth'

Set the environment variable 'auth_service_url' to be the FQURL of your auth service, eg rails s auth_service_url='http://localhost:3000' or somesuch.

This Gem no longer auto-adds itself into a Rails middleware stack, so you'll need to add it yourself. One way of doing this is to add the following to config/application.rb

config.middleware.use RackMojAuth::Middleware

About

prototype ruby/rack based auth service

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages