You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e9aa24
Browse filesBrowse the repository at this point in the historyBrowse files
fix(credentials): keep default-region token credentials as they were and share region definitions
- A credential on its provider's default region or host keeps the bare service display name,
and a vendor region host that fails to resolve is reported as the vendor being unavailable,
not a typed host that was not found.
- defaultValue is honored on the domain field only; providerWorkspaceId keeps its required,
non-defaulted handling everywhere, so a blank reconnect can never reset it.
- One defineCredentialRegions factory now holds each vendor's region ids, hosts, labels,
default, API base, and hidden tool param (LaunchDarkly, LangSmith, New Relic, SendGrid,
Sentry, Square); the internal SendGrid and Square schemas validate against it, and the New
Relic descriptor and block take their options from it.
- One isTokenServiceAccountFieldRequired predicate replaces the inline defaulted-is-optional
checks.
- Hex refuses its known non-workspace hex.tech labels (status, learn, docs, www, help,
community, blog), and the pattern's comment no longer claims more than it guarantees.
- Drops a mock-only and two pass-through tests; adds Sentry to the default-region tables.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/integrations/components/connect-service-account-modal/token-service-account-modal.tsx
+11-14Lines changed: 11 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ import type { ServiceAccountSecretFields } from '@/lib/credentials/service-accou
`${requiredFields.map((field)=>field.id).join(' and ')}${requiredFields.length>1 ? 'are' : 'is'} required for ${descriptor.serviceLabel} service account credentials`
0 commit comments