Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/forty-cameras-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@clerk/localizations': patch
'@clerk/clerk-js': patch
'@clerk/shared': patch
'@clerk/ui': patch
---

Add confirmation step for `<__experimental_ConfigureSSO />`
27 changes: 27 additions & 0 deletions packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,33 @@ export const enUS: LocalizationResource = {
yearPerUnit: 'Year per {{unitName}}',
},
configureSSO: {
confirmation: {
configurationSection: {
certificateLabel: 'Certificate',
configureAgainLink: 'Configure again',
issuerLabel: 'Issuer',
ssoUrlLabel: 'Sign on URL',
title: 'Configuration details',
},
domainSection: {
title: 'Domain',
},
enableSection: {
title: 'Enable SSO',
},
resetSection: {
confirmationFieldLabel: 'Type "{{name}}" to confirm',
submitButton: 'Reset connection',
title: 'Reset connection',
warning:
'This will permanently remove the SSO configuration. Members will no longer be able to sign in with SSO.',
},
statusSection: {
activeBadge: 'Active',
inactiveBadge: 'Inactive',
title: 'SSO Status',
},
},
missingManageEnterpriseConnectionsPermission: {
subtitle:
'Contact your organization administrator in order to have permissions to manage enterprise connections.',
Expand Down
8 changes: 7 additions & 1 deletion packages/shared/src/types/elementIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ export type ProfileSectionId =
| 'organizationDomains'
| 'manageVerifiedDomains'
| 'subscriptionsList'
| 'paymentMethods';
| 'paymentMethods'
| 'ssoStatus'
| 'enableSso'
| 'ssoDomain'
| 'ssoConfiguration'
| 'configureAgain'
| 'resetSso';
export type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'billing';

export type UserPreviewId = 'userButton' | 'personalWorkspace';
Expand Down
26 changes: 26 additions & 0 deletions packages/shared/src/types/localization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,32 @@ export type __internal_LocalizationResource = {
};
};
};
confirmation: {
statusSection: {
title: LocalizationValue;
activeBadge: LocalizationValue;
inactiveBadge: LocalizationValue;
};
enableSection: {
title: LocalizationValue;
};
domainSection: {
title: LocalizationValue;
};
configurationSection: {
title: LocalizationValue;
ssoUrlLabel: LocalizationValue;
issuerLabel: LocalizationValue;
certificateLabel: LocalizationValue;
configureAgainLink: LocalizationValue;
};
resetSection: {
title: LocalizationValue;
warning: LocalizationValue;
confirmationFieldLabel: LocalizationValue<'name'>;
submitButton: LocalizationValue;
};
};
};
apiKeys: {
formTitle: LocalizationValue;
Expand Down
Loading
Loading