sso_clyent 0.0.7.1 → 0.0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sso_clyent/engine.rb +3 -2
- data/lib/sso_clyent/version.rb +1 -1
- data/lib/sso_clyent.rb +2 -0
- metadata +20 -30
- checksums.yaml +0 -15
data/lib/sso_clyent/engine.rb
CHANGED
@@ -20,8 +20,9 @@ module SsoClyent
|
|
20
20
|
|
21
21
|
app.config.middleware.use OmniAuth::Builder do
|
22
22
|
provider :sso, SsoClyent.provyder[:app_id], SsoClyent.provyder[:app_secret],
|
23
|
-
:callback_path => "#{SsoClyent.path}/auth/sso/callback",
|
24
|
-
|
23
|
+
{ :callback_path => "#{SsoClyent.path}/auth/sso/callback",
|
24
|
+
:path_prefix => "#{SsoClyent.path}/auth"
|
25
|
+
}.merge(SSoClyent.ssl_config || {})
|
25
26
|
end
|
26
27
|
end
|
27
28
|
end
|
data/lib/sso_clyent/version.rb
CHANGED
data/lib/sso_clyent.rb
CHANGED
@@ -5,6 +5,7 @@ module SsoClyent
|
|
5
5
|
mattr_accessor :user_class, :unique_id
|
6
6
|
mattr_accessor :after_sign_in_path
|
7
7
|
mattr_accessor :path
|
8
|
+
mattr_accessor :ssl_config
|
8
9
|
mattr_accessor :provyder
|
9
10
|
mattr_accessor :setup_omniauth # hack to allow sso_clyent to be incorporated to gems that are used on apps without frontend (ex: in auth_passport_checkpoint for intermediary apis)
|
10
11
|
|
@@ -13,6 +14,7 @@ module SsoClyent
|
|
13
14
|
@@unique_id = config[:unique_id]
|
14
15
|
@@after_sign_in_path = config[:after_sign_in_path] || "/"
|
15
16
|
@@path = config[:path] || "/sso"
|
17
|
+
@@ssl_config = config[:ssl_config]
|
16
18
|
@@provyder = complete_provyder(config[:provyder])
|
17
19
|
@@setup_omniauth = config[:setup_omniauth] || true
|
18
20
|
end
|
metadata
CHANGED
@@ -1,71 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sso_clyent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.7.
|
4
|
+
version: 0.0.7.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- NicoArbogast
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70303485688200 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 3.2.8
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
|
-
version_requirements:
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.8
|
24
|
+
version_requirements: *70303485688200
|
27
25
|
- !ruby/object:Gem::Dependency
|
28
26
|
name: omniauth-oauth2
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &70303485687020 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - =
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: 1.1.1
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
requirements:
|
38
|
-
- - '='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.1.1
|
35
|
+
version_requirements: *70303485687020
|
41
36
|
- !ruby/object:Gem::Dependency
|
42
37
|
name: mysql2
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &70303485686200 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
44
40
|
requirements:
|
45
41
|
- - ! '>='
|
46
42
|
- !ruby/object:Gem::Version
|
47
43
|
version: '0'
|
48
44
|
type: :development
|
49
45
|
prerelease: false
|
50
|
-
version_requirements:
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
46
|
+
version_requirements: *70303485686200
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: rspec-rails
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &70303485685380 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
type: :development
|
63
56
|
prerelease: false
|
64
|
-
version_requirements:
|
65
|
-
requirements:
|
66
|
-
- - ! '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
57
|
+
version_requirements: *70303485685380
|
69
58
|
description: See sso_provyder for the provider part. Based on Devise, Authentifyd
|
70
59
|
and joshsoftware/sso-devise-omniauth-client. Parts directly taken from https://github.com/joshsoftware/sso-devise-omniauth-client
|
71
60
|
email:
|
@@ -129,26 +118,27 @@ files:
|
|
129
118
|
- spec/spec_helper.rb
|
130
119
|
homepage: https://github.com/NicoArbogast/sso_clyent
|
131
120
|
licenses: []
|
132
|
-
metadata: {}
|
133
121
|
post_install_message:
|
134
122
|
rdoc_options: []
|
135
123
|
require_paths:
|
136
124
|
- lib
|
137
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
138
127
|
requirements:
|
139
128
|
- - ! '>='
|
140
129
|
- !ruby/object:Gem::Version
|
141
130
|
version: '0'
|
142
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
143
133
|
requirements:
|
144
134
|
- - ! '>='
|
145
135
|
- !ruby/object:Gem::Version
|
146
136
|
version: '0'
|
147
137
|
requirements: []
|
148
138
|
rubyforge_project:
|
149
|
-
rubygems_version:
|
139
|
+
rubygems_version: 1.8.17
|
150
140
|
signing_key:
|
151
|
-
specification_version:
|
141
|
+
specification_version: 3
|
152
142
|
summary: A Rails Engine providing an Omniauth client with single sign on features
|
153
143
|
in a minute.
|
154
144
|
test_files:
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
MzEwYWFhODI1NjQ0MDA4Y2VhMTBkOTI1OWFlZGNiZjE3MGJkYmNhNQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZGNhZmRjMGQ0MTRhZTk0MjdhOTYwNjIzNTNhOTM0Njg3MzkwNmIyZA==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
OGI1Mjc3NzkxNmExMDdjZmRiMWRjNDFjYmIwYjkyN2RmNzhjZDNkODI1NmNk
|
10
|
-
Zjk0ZGU2YWZhNDYwN2ZmYzk0NGVkM2MxZGZlMjZmNDE1MDkxZGJjNzNmMGI0
|
11
|
-
Njg2NzJhYWEwOWE1MjBmYjk1ODRjYjRiYzRiMzhmYzAyMjJiMDI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ODM3YTcwZTg0NTZkYWU5MjM5YTRmNDZjY2Y1NzA5OTQ3NDg2MTFlZmJlYWYz
|
14
|
-
YzE5NGM0NzE4ZjMwYjAxY2U5Y2I0NTg1NjJjOTIwN2YzYzQzZTc5MzQ1ZjQ4
|
15
|
-
NWVlNGUyNzIwZjNlY2ZjMTM3ZmIyNjc0OWRlNWZhYmQ3ZmE1NDk=
|