devise_auth0_jwt_strategy 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devise_auth0_jwt_strategy/strategy.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f2a582447f88910fffd0f71dd4c6b96575a2d4deb48e30bd37002ec9cc30bc4
|
4
|
+
data.tar.gz: 26298442d7793594b3d08f0ce5a831afb0c2be7bb7fe6dac4ee5385ea83a8e46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e80eba69ba50b0d93ed017721347dc106aec812dfe6f05b2a18c6575ef7f7d88e35a67d46e3c3e9800cf4b5bc87819bbba4b094214c1cbc288e6004163d9fb82
|
7
|
+
data.tar.gz: 61ef056a21ddcbd48d45e222061594c3144b9e7fe1afc95de977ccd83f6872b7bcd5f8bd2ea962154c53e58d1baba362a35c9ec542ebdab700d5b781ffd072d0
|
@@ -77,7 +77,7 @@ module Devise
|
|
77
77
|
if valid?
|
78
78
|
# This will throw JWT::DecodeError if it fails
|
79
79
|
payload, header = ::JWT.decode(@jwt_token,
|
80
|
-
|
80
|
+
::JWT::Base64.url_decode(auth0_client_secret))
|
81
81
|
|
82
82
|
STDERR.puts payload.inspect if ENV['DEBUG_AUTH0_JWT']
|
83
83
|
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_auth0_jwt_strategy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick McGraw
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-03-10 00:00:00.000000000 Z
|
@@ -14,16 +14,16 @@ dependencies:
|
|
14
14
|
name: jwt
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,7 +93,7 @@ homepage: http://rubygems.org/gems/devise_auth0_jwt_strategy
|
|
93
93
|
licenses:
|
94
94
|
- MIT
|
95
95
|
metadata: {}
|
96
|
-
post_install_message:
|
96
|
+
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
99
99
|
- lib
|
@@ -108,8 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
111
|
+
rubygems_version: 3.0.6
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Authenticate requests using an Auth0 JWT passed by HTTP header
|
115
115
|
test_files: []
|