omniauth-aitu-passport 0.1.14 → 0.1.19

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: 3f0cb5da5735e7c845c698203b2763b05e92002775c12bb524568c08426ae7bc
4
- data.tar.gz: 965cf2e6ad7157f3aee3b4e1807d4316f01dbfa6cca2a17ea5aa3ba2136a6d81
3
+ metadata.gz: 19734302ba90f22720d1ac98ca0326957c9b14f8869b814a4c4207edb1525006
4
+ data.tar.gz: 0c86d74212ba4beec518bd9416e93f328e56049714294cc8b3a006e16a7aec7f
5
5
  SHA512:
6
- metadata.gz: 1bf083c693dd1e270cc377d58cd655a7befef3adf98a216934b94e3666f2e15b0acb2fe24b81fcfcb6d9e98aad9950bc2b1d4809c521f8c755a8188d0a453874
7
- data.tar.gz: '084411c264ec363031a43c75490c569d41a47704d9488fc1330874b30710a745b28d48cf9dab7bad6dc34fc8272c45d0d6c75c515c9062b72785259e810a4ef0'
6
+ metadata.gz: b9ba98957c9adaee2eebbf1c9134cabad788e8a40bffeb1bc7b633b36a21d2aac323ce12d26a0295b0702e6f77ce8dbdcef614e5fb22f59c830f8ce68b1b401f
7
+ data.tar.gz: b5d6e28853356a1ca56031ddea26cf8c69ea3d7958d0cd9d2dcbaf7e5ff5abc91cc3951230bf8c424bd9119ec8395a42a629ef5d46acb76de8574b3bfd1b280a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-aitu-passport (0.1.13)
4
+ omniauth-aitu-passport (0.1.19)
5
5
  oauth2 (~> 1.4.7)
6
6
  omniauth (~> 1)
7
7
  omniauth-oauth2 (~> 1)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module AituPassport
5
- VERSION = '0.1.14'
5
+ VERSION = '0.1.19'
6
6
  end
7
7
  end
@@ -67,8 +67,6 @@ module OmniAuth
67
67
  super.tap do
68
68
  # Raising up an error if redirect_uri is missing
69
69
  raise ArgumentError, 'Wrong options: redirect_uri option is missing.' unless options[:redirect_uri]
70
-
71
- options[:token_params][:redirect_uri] = options[:redirect_uri] unless options[:token_params][:redirect_uri]
72
70
  end
73
71
  end
74
72
 
@@ -76,6 +74,7 @@ module OmniAuth
76
74
  def authorize_params
77
75
  super.tap do |params|
78
76
  params[:scope] = filter_scope(params)
77
+ params[:redirect_uri] = options[:redirect_uri]
79
78
  end
80
79
  end
81
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-aitu-passport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Shevchenko