You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,7 @@ Provides strategies for authenticating to providers using the OpenID standard.
4
4
5
5
## Installation
6
6
7
-
To get just OpenID functionality:
8
-
9
-
gem install oa-openid
10
-
11
-
For the full auth suite:
12
-
13
-
gem install omniauth
7
+
gem install omniauth-openid
14
8
15
9
## Stand-Alone Example
16
10
@@ -20,9 +14,9 @@ Use the strategy as a middleware in your application:
20
14
require 'openid/store/filesystem'
21
15
22
16
use Rack::Session::Cookie
23
-
use OmniAuth::Strategies::OpenID, OpenID::Store::Filesystem.new('/tmp')
17
+
use OmniAuth::Strategies::OpenID, :store => OpenID::Store::Filesystem.new('/tmp')
24
18
25
-
Then simply direct users to '/auth/open_id' to prompt them for their OpenID identifier. You may also pre-set the identifier by passing an `identifier` parameter to the URL (Example: `/auth/open_id?openid_url=yahoo.com`).
19
+
Then simply direct users to `/auth/open_id` to prompt them for their OpenID identifier. You may also pre-set the identifier by passing an `identifier` parameter to the URL (Example: `/auth/open_id?openid_url=yahoo.com`).
26
20
27
21
A list of all OpenID stores is available at http://github.com/openid/ruby-openid/tree/master/lib/openid/store/
28
22
@@ -31,20 +25,18 @@ A list of all OpenID stores is available at http://github.com/openid/ruby-openid
31
25
If OpenID is one of several authentication strategies, use the OmniAuth Builder:
0 commit comments