mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
changed omniauth-openid to omniauth/openid and likewise for -basic in OpenID README
This commit is contained in:
parent
95fd71d7f8
commit
6a59e856ae
1 changed files with 2 additions and 4 deletions
|
@ -27,13 +27,11 @@ Then simply direct users to '/auth/open_id' to prompt them for their OpenID iden
|
||||||
|
|
||||||
If OpenID is one of several authentication strategies, use the OmniAuth Builder:
|
If OpenID is one of several authentication strategies, use the OmniAuth Builder:
|
||||||
|
|
||||||
require 'omniauth-openid'
|
require 'omniauth/openid'
|
||||||
require 'omniauth-basic'
|
require 'omniauth/basic' # for Campfire
|
||||||
require 'openid/store/filesystem'
|
require 'openid/store/filesystem'
|
||||||
|
|
||||||
use OmniAuth::Builder do
|
use OmniAuth::Builder do
|
||||||
provider :open_id, OpenID::Store::Filesystem.new('/tmp')
|
provider :open_id, OpenID::Store::Filesystem.new('/tmp')
|
||||||
provider :campfire
|
provider :campfire
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue