strongmind-auth 1.1.111 → 1.1.116

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: 9ce428c5cd3b0cfcbe821adda407545d5cc79326b3e7d4e9d7832be23aa5af54
4
- data.tar.gz: a652112283e2bb98e5135eb593cc1e0e8fd3d3f31403a413d6da10efd0ed6660
3
+ metadata.gz: 12b89250b4046f4b8d313dc3fcf89eaafb78088d5eba42480524dbffc2c8dee1
4
+ data.tar.gz: cc2d78807e378232a159a9815cfc24733fd5add0f801d0b23071be363b72f3d0
5
5
  SHA512:
6
- metadata.gz: a172d22b509380c823ab9bc79422018d08ca2d1bb394bf09834f20c8763c27ee5127226dd27d639bc5ff9ceabb4893ec1f4ee209e4c3a60507e410d9590a6e97
7
- data.tar.gz: c0d33a8b0aa9e1deaa4abd8c27d2b307bb26af88bb5928f3ad0a7e596d551d891d3193014d2a2cba6060d2da866729f14993042e1ba581f0b8128fef3ea7127d
6
+ metadata.gz: 9ec4660214b1051cf1332e8c06ce5b5bb396e3bdabd0b76f14ca3b8c69cc98815718dd318f499bf114a402995f5d34fab3cf283cdee35697382f17b18bef73bc
7
+ data.tar.gz: 347d70943b936b9bc0999834db248284e4dedc3584de38d2ae47cc08cb6a1859dc0b8b7134dccb2c185800158cc50f42a7fb0e58b84b6553faf37ef23ede3865
@@ -8,7 +8,7 @@ module JwtUtilities
8
8
  payload = decode_jwt(jwt)
9
9
  return false unless payload
10
10
 
11
- scope_valid = scope_valid?(payload,scopes)
11
+ scope_valid = scope_valid?(payload, scopes)
12
12
  nonce_valid = nonce_valid?(payload)
13
13
  condition_key_valid = condition_key_valid?(payload, condition_key)
14
14
  attributes_valid = attributes_valid?(payload, attributes)
@@ -40,9 +40,9 @@ module JwtUtilities
40
40
  {
41
41
  verify_iat: true,
42
42
  verify_iss: true,
43
- verify_aud: true,
44
43
  verify_sub: true,
45
44
  algorithm: 'RS256',
45
+ iss: ENV['IDENTITY_BASE_URL'],
46
46
  leeway: 60
47
47
  }
48
48
  end
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- return if defined? Rails::Generators
3
+ return if defined?(Rails::Generators) && !Rails.env.production?
4
4
 
5
5
  devise_for :users, controllers: {
6
6
  omniauth_callbacks: 'users/omniauth_callbacks',
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.1.111"
3
+ VERSION = "1.1.116"
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.111
4
+ version: 1.1.116
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-08-29 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails