协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
palantir-install-auth【开发与工程】Select and configure a Palantir OSDK or Platform SDK with the correct Developer Console OAuth grant and restrictions. Use when bootstrapping a user application, backend service, or direct platform API client. Trigger with "install Palantir SDK" or "Foundry OAuth".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Choose the SDK from the job: a generated OSDK for application-specific Ontology access, or the Platform SDK for broader Foundry/AIP REST APIs. Then configure OAuth through Developer Console with the minimum grant, scope, resources, and operations.
references/official-docs.md and use Developer Console's generated Start developing instructions for the target application.Never ask for, print, or commit a bearer token, client secret, authorization code, or refresh token. Store secrets only in an approved manager. Record the client ID only where allowed, and inventory grant type, redirect URLs, requested scopes, application restrictions, service-user permissions, owners, and rotation.
Choose generated OSDK or Platform SDK and document why the other surface is insufficient or unnecessary.
Create or select the Developer Console application and configure the user-delegated or backend-service grant.
Restrict the client to the required Ontology entities or Platform SDK operations and request the minimum scopes.
Install and pin the generated/package SDK plus its compatible client using the application-specific instructions.
Verify a bounded read in the target environment, test denial outside the intended restriction, and record secret rotation and revocation.
The application owner approves the OAuth client and redirect behavior; the Ontology or platform owner approves resource restrictions; the security owner approves secret storage; the data owner approves the verification read.
An SDK decision, pinned dependency set, Developer Console configuration inventory, grant and principal, scope/restriction matrix, secret-store references, positive/negative verification, and rotation/revocation ownership.
| Condition | Response |
|---|---|
| A token works outside intended resources | Tighten application restrictions and principal permissions, revoke affected credentials, and retest. |
| A client-credentials request is forbidden | Check service-user permissions, scopes, and application restrictions independently. |
| Generated code disagrees with a copied example | Use the target application's generated instructions and current SDK package as authoritative. |
| A secret appears in source or logs | Revoke and rotate it immediately, remove it from history, and regenerate sanitized evidence. |
Bootstrap a TypeScript OSDK user application with Authorization Code grant, one selected object type, one Action, explicit redirect URLs, and a negative test for an unselected resource.
Configure a Python Platform SDK backend service with Client Credentials grant, only the required operation restrictions and scopes, a secret-manager reference, and a bounded read verification.