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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/omniauth/aitu_passport/version.rb +1 -1
- data/lib/omniauth/strategies/aitu_passport.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19734302ba90f22720d1ac98ca0326957c9b14f8869b814a4c4207edb1525006
|
4
|
+
data.tar.gz: 0c86d74212ba4beec518bd9416e93f328e56049714294cc8b3a006e16a7aec7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9ba98957c9adaee2eebbf1c9134cabad788e8a40bffeb1bc7b633b36a21d2aac323ce12d26a0295b0702e6f77ce8dbdcef614e5fb22f59c830f8ce68b1b401f
|
7
|
+
data.tar.gz: b5d6e28853356a1ca56031ddea26cf8c69ea3d7958d0cd9d2dcbaf7e5ff5abc91cc3951230bf8c424bd9119ec8395a42a629ef5d46acb76de8574b3bfd1b280a
|
data/Gemfile.lock
CHANGED
@@ -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
|
|