strongmind-auth 1.1.91 → 1.1.96

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: b828d05af64497829e3afeaa5ecd30032b29607d0f2c6fe40c2b7d4749e20ccf
4
+ data.tar.gz: 1b25d940887983e20cae358ccfaecd5677148c17c8a015f1a94cb03c033329cc
5
5
  SHA512:
6
- metadata.gz: 27bac644b59134aed263d68ce13460f906060bbbfe0ce9a925c01046ae63f468b7545b05c0fb15b543fd38a22894d5e94b4785a15ad322085801635debde1bc5
7
- data.tar.gz: 15df4c56f89037e19d966489bb29dc06683c9b84b1431fc05978859c6122de0f94e0ccd10425d4274872f8f804a5d33ff54d1f4d8901e54026763ae0cbfa360b
6
+ metadata.gz: ae72f00d0963d5ccc8754319f1f5538deadc815f61d1476ceffaf53141ecc6e9278032d84c7d593b34b01afbfa70ab6aa9a68663941c931128ef9898b97f54ed
7
+ data.tar.gz: '02844567498acadffe477830af0994dc5610f0ffe7ba3793853e1bdcef1fcdeb6a44b9272237c748000598d4327336b7fd9e70c7a91be76eac53633366f7450d'
@@ -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.96"
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.96
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-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails