strongmind-auth 1.1.91 → 1.1.98

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: cf988650861d1e8d39886e1c693e7dbe8b92be8babfbe5f4aec46e7fe4855432
4
- data.tar.gz: 6e3b2b1c5098a8f17b1f895ac0935b989054ceba5c5ba43b636df1e76bbe9ab5
3
+ metadata.gz: 5923cb7c2aae5f46d33ca15fcd0e5b35f7153c54a399fd83322c247274001ca7
4
+ data.tar.gz: 015dcb29507761c53b885f3cb2b6d5bab23aea4102a64cb114c0b6258fb7c8a1
5
5
  SHA512:
6
- metadata.gz: 27bac644b59134aed263d68ce13460f906060bbbfe0ce9a925c01046ae63f468b7545b05c0fb15b543fd38a22894d5e94b4785a15ad322085801635debde1bc5
7
- data.tar.gz: 15df4c56f89037e19d966489bb29dc06683c9b84b1431fc05978859c6122de0f94e0ccd10425d4274872f8f804a5d33ff54d1f4d8901e54026763ae0cbfa360b
6
+ metadata.gz: e8c0e869f440f76e180fe00d03c8dfabf9402b6c2b43ce5162ae4fa142496655913ad7ed8c836e6e47b8fbf6a9d48d8e8ad5ebc3998479f35e429de407cb912f
7
+ data.tar.gz: d9786057f21fdaac11aed09d1952079a5590a5681812dad943294f1353e004fdd3c4d47bd05b141ae6de791cb43bd18719386d8a6e8671d18bfa883136a4b303
@@ -8,10 +8,14 @@ module JwtUtilities
8
8
  payload = decode_jwt(jwt)
9
9
  return false unless payload
10
10
 
11
- scope_valid?(payload,
12
- scopes) && nonce_valid?(payload) && condition_key_valid?(payload,
13
- condition_key) && attributes_valid?(payload,
14
- attributes)
11
+ scope_valid = scope_valid?(payload,scopes)
12
+ nonce_valid = nonce_valid?(payload)
13
+ condition_key_valid = condition_key_valid?(payload, condition_key)
14
+ attributes_valid = attributes_valid?(payload, attributes)
15
+
16
+ Rails.logger.info "scope_valid: #{scope_valid}, nonce_valid: #{nonce_valid}, condition_key_valid: #{condition_key_valid}, attributes_valid: #{attributes_valid}"
17
+
18
+ scope_valid && nonce_valid && condition_key_valid && attributes_valid
15
19
  end
16
20
 
17
21
  def public_key
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.91"
3
+ VERSION = "1.1.98"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.91
4
+ version: 1.1.98
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-23 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails