omniauth-liblynx 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/omniauth/strategies/liblynx.rb +6 -2
- data/lib/omniauth-liblynx/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f23cdabe1a7d6d99c91a548d68147d6840ce85f5d257fb525558b2d9f6abe68
|
|
4
|
+
data.tar.gz: b37949df143d0ac3feb8f1b0f84102d64de6e2d1412acb6accd85922520773f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fac1badd6a299503acb3b0f749d42be203dc6da36eb1193af3be32ab444437dac33bbfbda2a89b49f3cd258a810af3a5c3c5771e74c897cb6188b4a76bc2da48
|
|
7
|
+
data.tar.gz: 0d5c91d6c912f83d9487b645502d55c1105ec7e6ca66b3040926cf6870ff548531cee560fe489d7f07b883e9f8da39d9693769642d257471aba6abe923d23b9d
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
omniauth-liblynx (1.0.
|
|
4
|
+
omniauth-liblynx (1.0.4)
|
|
5
5
|
omniauth (~> 1.5)
|
|
6
6
|
omniauth-oauth2 (>= 1.4.0, < 2.0)
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ GEM
|
|
|
27
27
|
omniauth-oauth2 (1.5.0)
|
|
28
28
|
oauth2 (~> 1.1)
|
|
29
29
|
omniauth (~> 1.2)
|
|
30
|
-
rack (2.0.
|
|
30
|
+
rack (2.0.5)
|
|
31
31
|
rake (10.5.0)
|
|
32
32
|
|
|
33
33
|
PLATFORMS
|
|
@@ -70,7 +70,11 @@ module OmniAuth
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
def callback_phase
|
|
73
|
-
@auth_url = [
|
|
73
|
+
@auth_url = [
|
|
74
|
+
id_body[:url],
|
|
75
|
+
'?',
|
|
76
|
+
URI.encode_www_form(request.params)
|
|
77
|
+
].join
|
|
74
78
|
return fail!(:no_account_info, NoAccountInfo.new) if raw_info.blank?
|
|
75
79
|
env['omniauth.auth'] = auth_hash
|
|
76
80
|
call_app!
|
|
@@ -87,7 +91,7 @@ module OmniAuth
|
|
|
87
91
|
def id_body
|
|
88
92
|
{
|
|
89
93
|
ip: request.ip,
|
|
90
|
-
url: callback_url,
|
|
94
|
+
url: request.params['url'] || callback_url,
|
|
91
95
|
user_agent: request.user_agent,
|
|
92
96
|
email: request.params['email'],
|
|
93
97
|
forceSsoLogin: request.params['force_sso_login']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-liblynx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Sablic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
111
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.7.
|
|
112
|
+
rubygems_version: 2.7.7
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: OmniAuth strategy for LibLynx
|