Skip to content

janx/omniauth-http-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Http Basic authentication strategy for OmniAuth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages