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 +4 -4
- data/.github/workflows/auto-publish.yml +1 -1
- data/.github/workflows/check-links.yml +1 -1
- data/.github/workflows/ruby.yml +2 -2
- data/lib/stytch/b2b_idp.rb +1 -1
- data/lib/stytch/b2b_sessions.rb +1 -1
- data/lib/stytch/idp.rb +1 -1
- data/lib/stytch/m2m.rb +1 -1
- data/lib/stytch/sessions.rb +1 -1
- data/lib/stytch/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: c9a63556d6d6d2c869e96d8922f4bd5031886971e59827019894dc7b6f77a584
|
|
4
|
+
data.tar.gz: cb77cf3874d60ef0f171770478ec939f4fa740fad401c3998d67b61b9320ad5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa8255aae23082cbdddfa370061ade90301d0a031f0cf8d91e727a0bf925fdeb8ee9c91dc449448d4ae57590837c2eacd34c079d4d787766bdc21b9d0df7f054
|
|
7
|
+
data.tar.gz: 9e8aa0b3fe6ceff41284d6808e94b8eb00f64fddab5f07bf0aef1607b9af564a725e7a418e4293ead8f984f011a528953d17658705677d81a285a3a25f5e6357
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -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
|
|
data/lib/stytch/b2b_idp.rb
CHANGED
|
@@ -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]
|
data/lib/stytch/b2b_sessions.rb
CHANGED
|
@@ -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
|
data/lib/stytch/sessions.rb
CHANGED
|
@@ -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
|
data/lib/stytch/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|