stytch 11.1.0 → 11.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f71629db7c68eb1cc5d3ddfbd1258c460894417b36bff70155c4b6d14a3c805e
4
- data.tar.gz: 1b9cc2a8cd738c52b0bcf2b1a001a5e8dd9b1f5b86befe3e956cdeebe58d0a6b
3
+ metadata.gz: c9a63556d6d6d2c869e96d8922f4bd5031886971e59827019894dc7b6f77a584
4
+ data.tar.gz: cb77cf3874d60ef0f171770478ec939f4fa740fad401c3998d67b61b9320ad5d
5
5
  SHA512:
6
- metadata.gz: 9673c8aaaf31c622c9b20124ae5253149bc4e5dd769cbde16f5f0d5a2e8818b03cd43660a8c183443159053b5c883dadec372a228206f720c317046b677e50c5
7
- data.tar.gz: dc98d996aed611a95a78dc22b85115ea7efce74935dc8f2f842b3c65b20bc106d89a430d42b60280d8a7b73b69dec434a19b7d11e7ee3dc93aac86e57ad73704
6
+ metadata.gz: fa8255aae23082cbdddfa370061ade90301d0a031f0cf8d91e727a0bf925fdeb8ee9c91dc449448d4ae57590837c2eacd34c079d4d787766bdc21b9d0df7f054
7
+ data.tar.gz: 9e8aa0b3fe6ceff41284d6808e94b8eb00f64fddab5f07bf0aef1607b9af564a725e7a418e4293ead8f984f011a528953d17658705677d81a285a3a25f5e6357
@@ -6,7 +6,7 @@ on:
6
6
 
7
7
  jobs:
8
8
  publish:
9
- runs-on: ubuntu-latest
9
+ runs-on: ubuntu-latest-public
10
10
  name: Publish RubyGem and GitHub release
11
11
  steps:
12
12
  - uses: actions/checkout@v3
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  check-links:
11
- runs-on: ubuntu-latest
11
+ runs-on: ubuntu-latest-public
12
12
  name: Check links in README.md
13
13
  steps:
14
14
  - uses: actions/checkout@v3
@@ -6,7 +6,7 @@ on:
6
6
 
7
7
  jobs:
8
8
  test:
9
- runs-on: ubuntu-latest
9
+ runs-on: ubuntu-latest-public
10
10
 
11
11
  strategy:
12
12
  fail-fast: false
@@ -28,7 +28,7 @@ jobs:
28
28
  - run: bundle exec rspec
29
29
 
30
30
  lint:
31
- runs-on: ubuntu-latest
31
+ runs-on: ubuntu-latest-public
32
32
  steps:
33
33
  - uses: actions/checkout@v3
34
34
 
@@ -189,7 +189,7 @@ module StytchB2B
189
189
  {
190
190
  algorithms: ['RS256'],
191
191
  jwks: @jwks_cache.loader,
192
- iss: ["stytch.com/#{@project_id}", @connection.url_prefix],
192
+ iss: ["stytch.com/#{@project_id}", @connection.url_prefix.to_s.chomp('/')],
193
193
  aud: @project_id
194
194
  }
195
195
  )[0]
@@ -691,7 +691,7 @@ module StytchB2B
691
691
  clock_tolerance_seconds = 0 if clock_tolerance_seconds.nil?
692
692
 
693
693
  default_issuer = 'stytch.com/' + @project_id
694
- base_url_issuer = @connection.url_prefix
694
+ base_url_issuer = @connection.url_prefix.to_s.chomp('/')
695
695
  valid_issuers = [default_issuer, base_url_issuer]
696
696
 
697
697
  begin
data/lib/stytch/idp.rb CHANGED
@@ -178,7 +178,7 @@ module Stytch
178
178
  {
179
179
  algorithms: ['RS256'],
180
180
  jwks: @jwks_cache.loader,
181
- iss: ["stytch.com/#{@project_id}", @connection.url_prefix],
181
+ iss: ["stytch.com/#{@project_id}", @connection.url_prefix.to_s.chomp('/')],
182
182
  aud: @project_id
183
183
  }
184
184
  )[0]
data/lib/stytch/m2m.rb CHANGED
@@ -174,7 +174,7 @@ module Stytch
174
174
  def authenticate_token_local(jwt, clock_tolerance_seconds: nil)
175
175
  clock_tolerance_seconds = 0 if clock_tolerance_seconds.nil?
176
176
  default_issuer = 'stytch.com/' + @project_id
177
- base_url_issuer = @connection.url_prefix
177
+ base_url_issuer = @connection.url_prefix.to_s.chomp('/')
178
178
  valid_issuers = [default_issuer, base_url_issuer]
179
179
 
180
180
  begin
@@ -496,7 +496,7 @@ module Stytch
496
496
  clock_tolerance_seconds = 0 if clock_tolerance_seconds.nil?
497
497
 
498
498
  default_issuer = 'stytch.com/' + @project_id
499
- base_url_issuer = @connection.url_prefix
499
+ base_url_issuer = @connection.url_prefix.to_s.chomp('/')
500
500
  valid_issuers = [default_issuer, base_url_issuer]
501
501
 
502
502
  begin
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '11.1.0'
4
+ VERSION = '11.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stytch
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.0
4
+ version: 11.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-24 00:00:00.000000000 Z
11
+ date: 2026-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday