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 ac16fcb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(salesforce): match sandbox credentials in Chat and the connect draft
Two more surfaces resolved a credential to its service by exact provider id:
- `credentialsForTarget` compared only `providerId`/`baseProviderId`, so a
sandbox-only user's Salesforce chip in Chat read as disconnected and
re-prompted them to connect. The alternate ids are passed in by the caller
rather than resolved in the module, which is `'use client'` and would
otherwise pull the OAuth provider registry into the chat bundle.
- `createConnectDraft` resolved the service name by exact id, so a sandbox
connect defaulted to the label "My salesforce-sandbox".
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/special-tags/use-oauth-chip-connection.ts
0 commit comments