Skip to content

Commit 0c94086

Browse files
feat(api): add allowUnverifiedEmailScimFallbackMatch to scim_configurations
1 parent e89f1e4 commit 0c94086

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-8eb16dd2e26c8fd1ca37ef960aca95069f457ff8bdeca2347a2b157ae096ccd4.yml
3-
openapi_spec_hash: 6c5882382583c7db5824d6438a489724
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-17898495c070ff2b83528ccf268ff3a7426ccabe697c19ca5fe034daa7f76ed0.yml
3+
openapi_spec_hash: fc0b1da285521ddbb5293a228b31b51f
44
config_hash: e7d6e90c037f5d495ae913f3806471fd

src/resources/organizations/scim-configurations.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ export interface ScimConfiguration {
291291
*/
292292
updatedAt: string;
293293

294+
/**
295+
* allow_unverified_email_account_linking allows SCIM to link provisioned users to
296+
* existing accounts when the identity provider does not mark the email address as
297+
* verified
298+
*/
299+
allowUnverifiedEmailAccountLinking?: boolean;
300+
294301
/**
295302
* enabled indicates if SCIM provisioning is active
296303
*/
@@ -367,6 +374,13 @@ export interface ScimConfigurationCreateParams {
367374
*/
368375
ssoConfigurationId: string;
369376

377+
/**
378+
* allow_unverified_email_account_linking allows SCIM to link provisioned users to
379+
* existing accounts when the identity provider does not mark the email address as
380+
* verified
381+
*/
382+
allowUnverifiedEmailAccountLinking?: boolean | null;
383+
370384
/**
371385
* name is a human-readable name for the SCIM configuration
372386
*/
@@ -392,6 +406,13 @@ export interface ScimConfigurationUpdateParams {
392406
*/
393407
scimConfigurationId: string;
394408

409+
/**
410+
* allow_unverified_email_account_linking allows SCIM to link provisioned users to
411+
* existing accounts when the identity provider does not mark the email address as
412+
* verified
413+
*/
414+
allowUnverifiedEmailAccountLinking?: boolean | null;
415+
395416
/**
396417
* enabled controls whether SCIM provisioning is active
397418
*/

tests/api-resources/organizations/scim-configurations.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ describe('resource scimConfigurations', () => {
2828
const response = await client.organizations.scimConfigurations.create({
2929
organizationId: 'b0e12f6c-4c67-429d-a4a6-d9838b5da047',
3030
ssoConfigurationId: 'd2c94c27-3b76-4a42-b88c-95a85e392c68',
31+
allowUnverifiedEmailAccountLinking: true,
3132
name: 'name',
3233
tokenExpiresIn: '+9125115.360s',
3334
});
@@ -72,6 +73,7 @@ describe('resource scimConfigurations', () => {
7273
test.skip('update: required and optional params', async () => {
7374
const response = await client.organizations.scimConfigurations.update({
7475
scimConfigurationId: 'd2c94c27-3b76-4a42-b88c-95a85e392c68',
76+
allowUnverifiedEmailAccountLinking: true,
7577
enabled: false,
7678
name: 'name',
7779
ssoConfigurationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',

0 commit comments

Comments
 (0)