rack-oauth2 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rack/oauth2/server/authorize.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42e58238c013376c4c93565603d68ca11c4140f6
|
4
|
+
data.tar.gz: 6ca1e08435e371ffe9f439cce68a348b9745182a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce708fcc6bc380e60abee606fe26e713a68441512dbaf2ee0bf4d1f48143b63872ef4cb721ec3e386381b2a9e0372591fbc89a1e5c89245b07d612b69bc52a4
|
7
|
+
data.tar.gz: 162a29361e9bb4aff0b3e4a1b78ac317520563a0c3d53b15c36f2cc975b910ff8b0339c0cca8960965121e8c366d716708a14429574181e80ea7e7d7305039bf
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.2
|
@@ -41,7 +41,7 @@ module Rack
|
|
41
41
|
def initialize(env)
|
42
42
|
super
|
43
43
|
# NOTE: Raise before redirect_uri is saved not to redirect back to unverified redirect_uri.
|
44
|
-
|
44
|
+
invalid_request! '"client_id" missing' if client_id.blank?
|
45
45
|
@redirect_uri = Util.parse_uri(params['redirect_uri']) if params['redirect_uri']
|
46
46
|
@state = params['state']
|
47
47
|
end
|
@@ -58,12 +58,12 @@ module Rack
|
|
58
58
|
if verified
|
59
59
|
redirect_uri
|
60
60
|
else
|
61
|
-
|
61
|
+
invalid_request! '"redirect_uri" mismatch'
|
62
62
|
end
|
63
63
|
elsif pre_registered.present? && Array(pre_registered).size == 1 && !allow_partial_match
|
64
64
|
Array(pre_registered).first
|
65
65
|
else
|
66
|
-
|
66
|
+
invalid_request! '"redirect_uri" missing'
|
67
67
|
end
|
68
68
|
self.verified_redirect_uri.to_s
|
69
69
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
299
|
version: 1.3.6
|
300
300
|
requirements: []
|
301
301
|
rubyforge_project:
|
302
|
-
rubygems_version: 2.6.
|
302
|
+
rubygems_version: 2.6.11
|
303
303
|
signing_key:
|
304
304
|
specification_version: 4
|
305
305
|
summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported
|