Skip to content

Commit b09b66e

Browse files
authored
chore(clerk-js,types): Drop experimental_force_oauth_first & experimental__forceOauthFirst (#1918)
* chore(clerk-js,types): Drop `experimental_force_oauth_first` & `experimental__forceOauthFirst` * Create pretty-planes-kick.md
1 parent aa4cd76 commit b09b66e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.changeset/pretty-planes-kick.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@clerk/clerk-js": patch
3+
"@clerk/types": patch
4+
---
5+
6+
Drop `experimental_force_oauth_first` & `experimental__forceOauthFirst` from `DisplayConfig`

packages/clerk-js/src/core/resources/DisplayConfig.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export class DisplayConfig extends BaseResource implements DisplayConfigResource
7272
this.captchaPublicKey = data.captcha_public_key;
7373
this.supportEmail = data.support_email || '';
7474
this.clerkJSVersion = data.clerk_js_version;
75-
this.experimental__forceOauthFirst = data.experimental_force_oauth_first || false;
7675
this.organizationProfileUrl = data.organization_profile_url;
7776
this.createOrganizationUrl = data.create_organization_url;
7877
this.afterLeaveOrganizationUrl = data.after_leave_organization_url;

packages/clerk-js/src/ui/utils/test/fixtures.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ const createBaseDisplayConfig = (): DisplayConfigJSON => {
7272
create_organization_url: 'https://accounts.clerk.com/create-organization',
7373
after_leave_organization_url: 'https://dashboard.clerk.com',
7474
after_create_organization_url: 'https://dashboard.clerk.com',
75-
support_email: null,
75+
support_email: '',
7676
branded: true,
77-
experimental_force_oauth_first: false,
7877
clerk_js_version: '4',
7978
};
8079
};

packages/types/src/displayConfig.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export interface DisplayConfigJSON {
2929
theme: DisplayThemeJSON;
3030
user_profile_url: string;
3131
clerk_js_version?: string;
32-
experimental_force_oauth_first?: boolean;
3332
organization_profile_url: string;
3433
create_organization_url: string;
3534
after_leave_organization_url: string;

0 commit comments

Comments
 (0)