omniauth-seesaw 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,4 +28,13 @@ class OmniAuth::Strategies::Seesaw < OmniAuth::Strategies::OAuth2
|
|
28
28
|
def raw_info
|
29
29
|
@raw_info ||= access_token.get('/v1/me').parsed
|
30
30
|
end
|
31
|
+
|
32
|
+
def authorize_params
|
33
|
+
super.tap do |params|
|
34
|
+
# Read the params if passed directly to omniauth_authorize_path
|
35
|
+
%w(invitation_slug).each do |k|
|
36
|
+
params[k.to_sym] = request.params[k] unless [nil, ''].include?(request.params[k])
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
31
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-seesaw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-02-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: omniauth-oauth2
|
@@ -58,18 +58,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
- - ! '>='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
hash: 1755492022978574689
|
64
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
62
|
none: false
|
66
63
|
requirements:
|
67
64
|
- - ! '>='
|
68
65
|
- !ruby/object:Gem::Version
|
69
66
|
version: '0'
|
70
|
-
segments:
|
71
|
-
- 0
|
72
|
-
hash: 1755492022978574689
|
73
67
|
requirements: []
|
74
68
|
rubyforge_project:
|
75
69
|
rubygems_version: 1.8.23
|
@@ -77,3 +71,4 @@ signing_key:
|
|
77
71
|
specification_version: 3
|
78
72
|
summary: Seesaw OAuth2 Strategy for OmniAuth
|
79
73
|
test_files: []
|
74
|
+
has_rdoc:
|