omniauth-liblynx 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdbdfaa89ecedc832f49710fe7c2c37a9bca18808d3e08b44489480b7cba9815
4
- data.tar.gz: c80ab2e00e9fce1411b988e412a37b867c4fc54250bbf6819cf599bf6c5f5d1c
3
+ metadata.gz: 9f23cdabe1a7d6d99c91a548d68147d6840ce85f5d257fb525558b2d9f6abe68
4
+ data.tar.gz: b37949df143d0ac3feb8f1b0f84102d64de6e2d1412acb6accd85922520773f6
5
5
  SHA512:
6
- metadata.gz: daac84ca82f1764e2bd28338d1f92cd4a2b94ae924df55e907c703aa65c7890f34c909b8574c52102d499b5234c2651407989679cc725f1f034273a0966ce394
7
- data.tar.gz: 640f780a371bccf35a716a50b467c7b7ea3550269a9606691771f425b213204f29189b14fcb27690d53cb10e1567e6196cc8608df801216563424a0b649a7c42
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.3)
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.4)
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 = [id_body[:url], '?', URI.encode_www_form(request.params)].join
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']
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module LibLynx
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
7
7
  end
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.3
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-04-24 00:00:00.000000000 Z
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.6
112
+ rubygems_version: 2.7.7
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: OmniAuth strategy for LibLynx