Low commit activity in last 3 years
A long-lived project that still receives updates
A OmniAuth strategy to authenticate using different passwort strategies.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 2.0
 Project Readme

Omniauth::Multipassword

Gem Version Workflow Status Test Coverage Code Climate

omniauth-multipassword is a OmniAuth strategy that allows to authenticate again different password strategies at once.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-multipassword'

Add multipassword compatible omniauth strategies you want to use:

gem 'omniauth-internal'
gem 'omniauth-kerberos'

And then execute:

bundle

Or install it yourself as:

gem install omniauth-multipassword

Usage

Rails.application.config.middleware.use OmniAuth::Strategies::MultiPassword, fields: [ :auth_key ] do |mp|
  mp.authenticator :internal
  mp.authenticator :kerberos
end

Options

title

The title text shown on default login form. (default: "Restricted Access")

fields

The request parameter names to fetch username and password. (default: [ "username", "password" ])

Compatible Strategies

License

MIT License

Copyright © 2012, Jan Graichen