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/cool-dragons-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@clerk/clerk-js": patch
"@clerk/localizations": patch
"@clerk/shared": patch
"@clerk/ui": patch
---

Add support for configuring custom OpenID Connect enterprise connections through the Organization Profile.
8 changes: 8 additions & 0 deletions packages/clerk-js/src/core/resources/EnterpriseConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ function oauthConfigFromJSON(data: EnterpriseOAuthConfigJSON): EnterpriseOAuthCo
name: data.name,
clientId: data.client_id,
providerKey: data.provider_key,
redirectUri: data.redirect_uri,
discoveryUrl: data.discovery_url,
authUrl: data.auth_url,
tokenUrl: data.token_url,
userInfoUrl: data.user_info_url,
logoPublicUrl: data.logo_public_url,
requiresPkce: data.requires_pkce,
createdAt: unixEpochToDate(data.created_at),
Expand All @@ -73,7 +77,11 @@ function oauthConfigToJSON(data: EnterpriseOAuthConfigResource): EnterpriseOAuth
name: data.name,
client_id: data.clientId,
provider_key: data.providerKey,
redirect_uri: data.redirectUri,
discovery_url: data.discoveryUrl,
auth_url: data.authUrl,
token_url: data.tokenUrl,
user_info_url: data.userInfoUrl,
logo_public_url: data.logoPublicUrl,
requires_pkce: data.requiresPkce,
created_at: data.createdAt?.getTime() ?? 0,
Expand Down
81 changes: 81 additions & 0 deletions packages/localizations/src/ar-SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,79 @@ export const arSA: LocalizationResource = {
required: undefined,
},
},
oidcCustom: {
credentialsStep: {
clientId: {
label: undefined,
placeholder: undefined,
},
clientSecret: {
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
paragraph: undefined,
},
endpointsStep: {
discoveryUrl: {
description: undefined,
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
manual: {
authUrl: {
label: undefined,
placeholder: undefined,
},
description: undefined,
tokenUrl: {
label: undefined,
placeholder: undefined,
},
userInfoUrl: {
label: undefined,
placeholder: undefined,
},
},
modes: {
ariaLabel: undefined,
discoveryUrl: undefined,
manual: undefined,
},
},
mainHeaderTitle: undefined,
redirectUriStep: {
claims: {
description: undefined,
table: {
columns: {
attribute: undefined,
claim: undefined,
},
rows: {
email: {
attribute: undefined,
},
firstName: {
attribute: undefined,
},
lastName: {
attribute: undefined,
},
subject: {
attribute: undefined,
},
},
},
},
headerSubtitle: undefined,
paragraph: undefined,
redirectUri: {
label: undefined,
},
},
},
samlCustom: {
assignUsersStep: {
headerSubtitle: undefined,
Expand Down Expand Up @@ -627,6 +700,10 @@ export const arSA: LocalizationResource = {
},
mainHeaderTitle: undefined,
},
unsupportedProvider: {
description: undefined,
title: undefined,
},
},
missingManageEnterpriseConnectionsPermission: {
subtitle: 'تواصل مع مسؤول مؤسستك لترقية أذوناتك.',
Expand Down Expand Up @@ -679,6 +756,10 @@ export const arSA: LocalizationResource = {
title: undefined,
},
selectProviderStep: {
oidc: {
groupLabel: undefined,
oidcProvider: undefined,
},
saml: {
customSaml: 'مزود SAML مخصص',
google: undefined,
Expand Down
81 changes: 81 additions & 0 deletions packages/localizations/src/be-BY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,79 @@ export const beBY: LocalizationResource = {
required: undefined,
},
},
oidcCustom: {
credentialsStep: {
clientId: {
label: undefined,
placeholder: undefined,
},
clientSecret: {
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
paragraph: undefined,
},
endpointsStep: {
discoveryUrl: {
description: undefined,
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
manual: {
authUrl: {
label: undefined,
placeholder: undefined,
},
description: undefined,
tokenUrl: {
label: undefined,
placeholder: undefined,
},
userInfoUrl: {
label: undefined,
placeholder: undefined,
},
},
modes: {
ariaLabel: undefined,
discoveryUrl: undefined,
manual: undefined,
},
},
mainHeaderTitle: undefined,
redirectUriStep: {
claims: {
description: undefined,
table: {
columns: {
attribute: undefined,
claim: undefined,
},
rows: {
email: {
attribute: undefined,
},
firstName: {
attribute: undefined,
},
lastName: {
attribute: undefined,
},
subject: {
attribute: undefined,
},
},
},
},
headerSubtitle: undefined,
paragraph: undefined,
redirectUri: {
label: undefined,
},
},
},
samlCustom: {
assignUsersStep: {
headerSubtitle: undefined,
Expand Down Expand Up @@ -627,6 +700,10 @@ export const beBY: LocalizationResource = {
},
mainHeaderTitle: undefined,
},
unsupportedProvider: {
description: undefined,
title: undefined,
},
},
missingManageEnterpriseConnectionsPermission: {
subtitle: 'Звярніцеся да адміністратара вашай арганізацыі, каб павысіць вашы дазволы.',
Expand Down Expand Up @@ -680,6 +757,10 @@ export const beBY: LocalizationResource = {
title: undefined,
},
selectProviderStep: {
oidc: {
groupLabel: undefined,
oidcProvider: undefined,
},
saml: {
customSaml: 'Карыстальніцкі правайдэр SAML',
google: undefined,
Expand Down
81 changes: 81 additions & 0 deletions packages/localizations/src/bg-BG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,79 @@ export const bgBG: LocalizationResource = {
required: undefined,
},
},
oidcCustom: {
credentialsStep: {
clientId: {
label: undefined,
placeholder: undefined,
},
clientSecret: {
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
paragraph: undefined,
},
endpointsStep: {
discoveryUrl: {
description: undefined,
label: undefined,
placeholder: undefined,
},
headerSubtitle: undefined,
manual: {
authUrl: {
label: undefined,
placeholder: undefined,
},
description: undefined,
tokenUrl: {
label: undefined,
placeholder: undefined,
},
userInfoUrl: {
label: undefined,
placeholder: undefined,
},
},
modes: {
ariaLabel: undefined,
discoveryUrl: undefined,
manual: undefined,
},
},
mainHeaderTitle: undefined,
redirectUriStep: {
claims: {
description: undefined,
table: {
columns: {
attribute: undefined,
claim: undefined,
},
rows: {
email: {
attribute: undefined,
},
firstName: {
attribute: undefined,
},
lastName: {
attribute: undefined,
},
subject: {
attribute: undefined,
},
},
},
},
headerSubtitle: undefined,
paragraph: undefined,
redirectUri: {
label: undefined,
},
},
},
samlCustom: {
assignUsersStep: {
headerSubtitle: undefined,
Expand Down Expand Up @@ -628,6 +701,10 @@ export const bgBG: LocalizationResource = {
},
mainHeaderTitle: undefined,
},
unsupportedProvider: {
description: undefined,
title: undefined,
},
},
missingManageEnterpriseConnectionsPermission: {
subtitle: 'Свържете се с администратора на вашата организация, за да повишите разрешенията си.',
Expand Down Expand Up @@ -681,6 +758,10 @@ export const bgBG: LocalizationResource = {
title: undefined,
},
selectProviderStep: {
oidc: {
groupLabel: undefined,
oidcProvider: undefined,
},
saml: {
customSaml: 'Персонализиран SAML доставчик',
google: undefined,
Expand Down
Loading
Loading