stytch 10.38.0 → 10.39.0

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: 1f212b60a08a20f7a06492423c17851412fd51dbea81c54bc0e9eddd30a94f65
4
- data.tar.gz: 0e4365b79fbd0218093771d3e31d1bc2c424a522f5107c3a8c6db8c6ae021d5e
3
+ metadata.gz: a5b6536b2413740806ccad0a1bd83714be80a37e47a332f97eaf4bbf8896bc1f
4
+ data.tar.gz: 7432afc39e2207fb1020d90c710d536d69088033a9a892e3e1bf9a5385310a2b
5
5
  SHA512:
6
- metadata.gz: f93a57813278b50d077a217952c9db8e521cf01bd1053c6b8d5fa5d1e3ef5f67329c3eb0a23ac45577539be5802dc45c7ec4e1e815cbc685b85f70df967d4661
7
- data.tar.gz: ca43f20dc576109b9d4955d83dba60745d33e14400b61ffc6320803be79ca5527920055e33061ee688da70e693cce54037be446d40f2846fe00947c49b7b9db3
6
+ metadata.gz: 425223ac3af73717f5d779b005091e159f976f5bc4b7d66d5f840efde714163e9898357536b3e7a00bedeb20e1c579ca04df9ee7e1969e90d7f8f3400763f34a
7
+ data.tar.gz: 7bd7d8d1e07fe67a19be06d536ec66ee6fb2a2110989e5db2d0ee5cc86a75a154cbadfa9ec8d71701f5c97df37b241ba7707033f6988aeaf5898c0d985739f22
@@ -196,6 +196,9 @@ module StytchB2B
196
196
  # organization_slug::
197
197
  # The unique URL slug of the Organization. A minimum of two characters is required. The slug only accepts alphanumeric characters and the following reserved characters: `-` `.` `_` `~`. If the slug is not specified, a default slug will be created based on the email used to initiate the discovery flow. If the email domain is a common email provider such as gmail.com, or if the email is a .edu email, the organization slug will be generated based on the name portion of the email. Otherwise, the organization slug will be generated based on the email domain.
198
198
  # The type of this field is nilable +String+.
199
+ # organization_external_id::
200
+ # An identifier that can be used in API calls wherever a organization_id is expected. This is a string consisting of alphanumeric, `.`, `_`, `-`, or `|` characters with a maximum length of 128 characters. External IDs must be unique within a project, but may be reused across different projects in the same workspace.
201
+ # The type of this field is nilable +String+.
199
202
  # organization_logo_url::
200
203
  # The image URL of the Organization logo.
201
204
  # The type of this field is nilable +String+.
@@ -364,6 +367,7 @@ module StytchB2B
364
367
  session_custom_claims: nil,
365
368
  organization_name: nil,
366
369
  organization_slug: nil,
370
+ organization_external_id: nil,
367
371
  organization_logo_url: nil,
368
372
  trusted_metadata: nil,
369
373
  sso_jit_provisioning: nil,
@@ -392,6 +396,7 @@ module StytchB2B
392
396
  request[:session_custom_claims] = session_custom_claims unless session_custom_claims.nil?
393
397
  request[:organization_name] = organization_name unless organization_name.nil?
394
398
  request[:organization_slug] = organization_slug unless organization_slug.nil?
399
+ request[:organization_external_id] = organization_external_id unless organization_external_id.nil?
395
400
  request[:organization_logo_url] = organization_logo_url unless organization_logo_url.nil?
396
401
  request[:trusted_metadata] = trusted_metadata unless trusted_metadata.nil?
397
402
  request[:sso_jit_provisioning] = sso_jit_provisioning unless sso_jit_provisioning.nil?
@@ -549,7 +549,8 @@ module Stytch
549
549
  'expires_at' => expires_at,
550
550
  'attributes' => jwt[stytch_claim]['attributes'],
551
551
  'authentication_factors' => jwt[stytch_claim]['authentication_factors'],
552
- 'custom_claims' => custom_claims
552
+ 'custom_claims' => custom_claims,
553
+ 'roles' => jwt[stytch_claim]['roles']
553
554
  }
554
555
  }
555
556
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '10.38.0'
4
+ VERSION = '10.39.0'
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: 10.38.0
4
+ version: 10.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-06 00:00:00.000000000 Z
11
+ date: 2025-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday