No commit activity in last 3 years
No release in over 3 years
HTTP Basic strategies for OmniAuth.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

>= 1.0
 Project Readme

OmniAuth::HttpBasic¶ ↑

OmniAuth stratgies for APIs that have HTTP Basic authentication.

This strategy is intended for developer’s convinience, it will NOT set any uid or auth_hash data like a user strategy. So in most cases you need to create your own strategy by subclassing this strategy, and set uid and auth_hash there.

Use it by subclass¶ ↑

Check github.com/janx/omniauth-broadworks for example.

¶ ↑

Install manually or using Bundler:

gem 'omniauth-http-basic'

Add :httpbasic provider to omniauth builder:

use OmniAuth::Builder do
  provider :httpbasic, "https://example.com/user_info"
  # provider ...
end