omniauth-protect 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/omniauth/protect/middleware.rb +1 -1
- data/lib/omniauth/protect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e5938d78097ae118e03086a172712b454cbdc98cd83b0d5b22b2cac7c37c039
|
4
|
+
data.tar.gz: 713189cdf9271f8dcd7d979edc23dcaa324e0763c1c7f534508a46746f6e1014
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66c633932719656300b8f1a25c63c32027b4f500daffac2bd537e5221553522c33a21c24e1db0529e254e9606fcffe96c087a784149e5affbc6ee76c39d49ffd
|
7
|
+
data.tar.gz: f767104252e70bfb235d8af3999698a3aa2f5759ca44ca8109bdea837d54894a357d48f8d06a458021946ab3cfc5ce0e017f50c905a3fc722f14672b9db1471d
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [3.0.1] - 2020-06-29
|
10
|
+
### Fixed
|
11
|
+
- Always cast tokens read from session to a string
|
12
|
+
|
9
13
|
## [3.0.0] - 2020-06-25
|
10
14
|
### Change
|
11
15
|
- Only supports Rails 6+, use 2.0.0 for Rails 5.2.4.3
|
@@ -17,7 +17,7 @@ module Omniauth
|
|
17
17
|
return access_denied if env['REQUEST_METHOD'] != 'POST'
|
18
18
|
|
19
19
|
req = Rack::Request.new(env)
|
20
|
-
encoded_masked_token = req.params['authenticity_token']
|
20
|
+
encoded_masked_token = req.params['authenticity_token'].to_s
|
21
21
|
|
22
22
|
return access_denied if !encoded_masked_token
|
23
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-protect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serdar Dogruyol
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|