doorkeeper-device_authorization_grant 1.0.2 → 1.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373719a47fa17567255c89d4eca8a9be20cdced572bb6f2a69417fa48cc2fdd9
|
4
|
+
data.tar.gz: 85a9746bbb6057941a4373336cb6f5eb2f94183a0d66235563363bdab7e0964e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c49ed72174821af506f3a7292dea96158a9ab5af8b362675cb956ccc5d9f35b36f1f83057ae1ee67bc07b0c8f95d4af25c405c69fae7f4bcaae5b4cc6da20f1
|
7
|
+
data.tar.gz: e552cd84493d95173ddfbc7bacb5c2a3ec9755dbf5b0b5c6fbf1012703d545964f870a5781722d25d888b8bc5d5670d966fdf555942191eb24c01c58857e47c1
|
data/app/controllers/doorkeeper/device_authorization_grant/device_authorizations_controller.rb
CHANGED
@@ -22,9 +22,9 @@ module Doorkeeper
|
|
22
22
|
next authorization_error_response(:expired_user_code) if device_grant.expired?
|
23
23
|
|
24
24
|
device_grant.update!(user_code: nil, resource_owner_id: current_resource_owner.id)
|
25
|
-
end
|
26
25
|
|
27
|
-
|
26
|
+
authorization_success_response
|
27
|
+
end
|
28
28
|
end
|
29
29
|
|
30
30
|
private
|
@@ -130,7 +130,7 @@ module Doorkeeper
|
|
130
130
|
end
|
131
131
|
|
132
132
|
def scopes_match_configured
|
133
|
-
if scopes.present? && !Doorkeeper::OAuth::Helpers::ScopeChecker.valid?(
|
133
|
+
if scopes.present? && !Doorkeeper::OAuth::Helpers::ScopeChecker.valid?(
|
134
134
|
scope_str: scopes.to_s,
|
135
135
|
server_scopes: Doorkeeper.config.scopes
|
136
136
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doorkeeper-device_authorization_grant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EXOP Group
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: doorkeeper
|