oa-openid 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,13 @@ module OmniAuth
8
8
  super(app, store, options)
9
9
  end
10
10
 
11
+ def get_identifier
12
+ OmniAuth::Form.build('Google Apps Authentication') do
13
+ label_field('Google Apps Domain', 'domain')
14
+ input_field('url', 'domain')
15
+ end.to_response
16
+ end
17
+
11
18
  def identifier
12
19
  options[:domain] || request['domain']
13
20
  end
@@ -79,8 +79,7 @@ module OmniAuth
79
79
  openid.call(env)
80
80
  resp = env.delete('rack.openid.response')
81
81
  if resp && resp.status == :success
82
- request['auth'] = auth_hash(resp)
83
- @app.call(env)
82
+ super
84
83
  else
85
84
  fail!(:invalid_credentials)
86
85
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oa-openid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Bleigh
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-04 00:00:00 -05:00
18
+ date: 2010-10-06 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,12 +24,12 @@ dependencies:
24
24
  requirements:
25
25
  - - "="
26
26
  - !ruby/object:Gem::Version
27
- hash: 25
27
+ hash: 31
28
28
  segments:
29
29
  - 0
30
30
  - 1
31
- - 1
32
- version: 0.1.1
31
+ - 2
32
+ version: 0.1.2
33
33
  requirement: *id001
34
34
  name: oa-core
35
35
  prerelease: false