@@ -55,7 +55,6 @@ import {
5555} from '@clerk/shared/telemetry' ;
5656import type {
5757 __experimental_CheckoutOptions ,
58- __experimental_ConfigureSSOProps ,
5958 __internal_AttemptToEnableEnvironmentSettingParams ,
6059 __internal_AttemptToEnableEnvironmentSettingResult ,
6160 __internal_CheckoutProps ,
@@ -80,6 +79,7 @@ import type {
8079 ClerkOptions ,
8180 ClientJSONSnapshot ,
8281 ClientResource ,
82+ ConfigureSSOProps ,
8383 CreateOrganizationParams ,
8484 CreateOrganizationProps ,
8585 CredentialReturn ,
@@ -1458,11 +1458,10 @@ export class Clerk implements ClerkInterface {
14581458 /**
14591459 * Mount a configure SSO component at the target element.
14601460 *
1461- * @experimental
14621461 * @param targetNode Target to mount the ConfigureSSO component.
14631462 * @param props Configuration parameters.
14641463 */
1465- public __experimental_mountConfigureSSO = ( node : HTMLDivElement , props ?: __experimental_ConfigureSSOProps ) => {
1464+ public mountConfigureSSO = ( node : HTMLDivElement , props ?: ConfigureSSOProps ) => {
14661465 if ( disabledSelfServeSSOFeature ( this , this . environment ) ) {
14671466 if ( this . #instanceType === 'development' ) {
14681467 throw new ClerkRuntimeError ( warnings . cannotRenderConfigureSSOComponentWhenDisabled , {
@@ -1497,7 +1496,7 @@ export class Clerk implements ClerkInterface {
14971496 . then ( controls =>
14981497 controls . mountComponent ( {
14991498 name : component ,
1500- appearanceKey : '__experimental_configureSSO ' ,
1499+ appearanceKey : 'configureSSO ' ,
15011500 node,
15021501 props,
15031502 } ) ,
@@ -1510,13 +1509,26 @@ export class Clerk implements ClerkInterface {
15101509 * Unmount a configure SSO component from the target element.
15111510 * If there is no component mounted at the target node, results in a noop.
15121511 *
1513- * @experimental
15141512 * @param targetNode Target node to unmount the ConfigureSSO component from.
15151513 */
1516- public __experimental_unmountConfigureSSO = ( node : HTMLDivElement ) => {
1514+ public unmountConfigureSSO = ( node : HTMLDivElement ) => {
15171515 void this . #clerkUI?. then ( ui => ui . ensureMounted ( ) ) . then ( controls => controls . unmountComponent ( { node } ) ) ;
15181516 } ;
15191517
1518+ /**
1519+ * @deprecated Use `mountConfigureSSO` instead.
1520+ */
1521+ public __experimental_mountConfigureSSO = ( node : HTMLDivElement , props ?: ConfigureSSOProps ) => {
1522+ return this . mountConfigureSSO ( node , props ) ;
1523+ } ;
1524+
1525+ /**
1526+ * @deprecated Use `unmountConfigureSSO` instead.
1527+ */
1528+ public __experimental_unmountConfigureSSO = ( node : HTMLDivElement ) => {
1529+ return this . unmountConfigureSSO ( node ) ;
1530+ } ;
1531+
15201532 public mountTaskChooseOrganization = ( node : HTMLDivElement , props ?: TaskChooseOrganizationProps ) => {
15211533 const { isEnabled : isOrganizationsEnabled } = this . __internal_attemptToEnableEnvironmentSetting ( {
15221534 for : 'organizations' ,
0 commit comments