omniauth-authic 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/omniauth/strategies/authic.rb +7 -1
- data/lib/omniauth-authic/version.rb +1 -1
- metadata +27 -3
@@ -25,10 +25,16 @@ module OmniAuth
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
def request_phase
|
29
|
+
# Add authic_action into the params mix. This will let the Authic server know to serve up the signup or signin page
|
30
|
+
options.authorize_params[:authic_action] = request.params["authic_action"]
|
31
|
+
super
|
32
|
+
end
|
33
|
+
|
28
34
|
def client
|
29
35
|
raise "You must specify your Authic subdomain in setup i.e. :subdomain => 'mysubdomain'" if options[:subdomain].blank?
|
30
36
|
# Make sure we set the site correctly before creating a client
|
31
|
-
options[:client_options][:site] = "
|
37
|
+
options[:client_options][:site] = "https://#{options[:subdomain]}.#{options[:domain]}"
|
32
38
|
super
|
33
39
|
end
|
34
40
|
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-authic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Authic
|
@@ -10,7 +15,8 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2012-
|
18
|
+
date: 2012-11-06 00:00:00 +11:00
|
19
|
+
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: omniauth-oauth2
|
@@ -20,6 +26,11 @@ dependencies:
|
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 19
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 2
|
23
34
|
version: 1.0.2
|
24
35
|
type: :runtime
|
25
36
|
version_requirements: *id001
|
@@ -31,6 +42,9 @@ dependencies:
|
|
31
42
|
requirements:
|
32
43
|
- - ">="
|
33
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
34
48
|
version: "0"
|
35
49
|
type: :development
|
36
50
|
version_requirements: *id002
|
@@ -42,6 +56,9 @@ dependencies:
|
|
42
56
|
requirements:
|
43
57
|
- - ">="
|
44
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
45
62
|
version: "0"
|
46
63
|
type: :development
|
47
64
|
version_requirements: *id003
|
@@ -63,6 +80,7 @@ files:
|
|
63
80
|
- lib/omniauth/strategies/authic.rb
|
64
81
|
- omniauth-authic.gemspec
|
65
82
|
- test/omniauth-authic/test.rb
|
83
|
+
has_rdoc: true
|
66
84
|
homepage: https://github.com/authic/omniauth-authic
|
67
85
|
licenses: []
|
68
86
|
|
@@ -76,17 +94,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
94
|
requirements:
|
77
95
|
- - ">="
|
78
96
|
- !ruby/object:Gem::Version
|
97
|
+
hash: 3
|
98
|
+
segments:
|
99
|
+
- 0
|
79
100
|
version: "0"
|
80
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
102
|
none: false
|
82
103
|
requirements:
|
83
104
|
- - ">="
|
84
105
|
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 0
|
85
109
|
version: "0"
|
86
110
|
requirements: []
|
87
111
|
|
88
112
|
rubyforge_project: omniauth-authic
|
89
|
-
rubygems_version: 1.
|
113
|
+
rubygems_version: 1.6.2
|
90
114
|
signing_key:
|
91
115
|
specification_version: 3
|
92
116
|
summary: Omniauth plugin for the Authic service
|