nadolskimm-max/sf-skills/sf-connected-apps
Claude Code and agent skill by nadolskimm-max/sf-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Creates and manages Salesforce Connected Apps and External Client Apps for OAuth integrations. Use when configuring OAuth flows (JWT Bearer, Authorization Code, Client Credentials, PKCE), creating Connected App metadata, or migrating to External Client Apps. Do NOT use for Named Credentials (use sf-integration) or general API callouts (use sf-integration).
Install
npx vskill@latest install nadolskimm-max/sf-skills/sf-connected-appsSKILL.md
The same SKILL.md was published earlier as nadolskimm-max/sf-skills/sf-connected-apps.
Connected Apps & OAuth
Core Responsibilities
- Generate Connected App metadata XML
- Configure OAuth flows (JWT Bearer, Auth Code + PKCE, Client Credentials)
- Create External Client Apps (ECA) for new integrations
- Review security best practices for OAuth configurations
- Guide migration from Connected Apps to External Client Apps
OAuth Flow Selection
| Flow | Use Case | Security Level | |
|---|---|---|---|
| JWT Bearer | Server-to-server, no user interaction | High (certificate-based) | |
| Authorization Code + PKCE | Web/mobile apps with user login | High (no client secret exposed) | |
| Client Credentials | Backend service accounts | Medium (secret-based) | |
| Device Flow | CLI tools, IoT devices | Medium | |
| Refresh Token | Long-lived sessions | Depends on storage |
Workflow
Phase 1 — Requirements
- Identify the integration type (server-to-server vs user-facing)
- Determine the OAuth flow needed
- Identify required OAuth scopes
- Plan certificate/key management for JWT
Phase 2 — Generate
Connected App (JWT Bearer)
Connected App (Client Credentials)
Phase 3 — Configure in Org
External Client Apps (ECA)
ECAs are the modern replacement for Connected Apps (API v61.0+):
Security Best Practices
| Practice | Detail | |
|---|---|---|
| Use JWT Bearer for server-to-server | No secrets stored, certificate-based auth | |
| Enable PKCE for public clients | Prevents authorization code interception | |
| Enforce IP restrictions | Set ipRelaxation to ENFORCE | |
| Limit OAuth scopes | Grant only required scopes | |
| Rotate certificates annually | Set calendar reminders for cert expiry | |
| Use Named Credentials | Never hardcode tokens in Apex | |
| Enable Admin Pre-Authorization | Prevent unauthorized app access |
Cross-Skill References
- For Named Credentials: see sf-integration
- For deploying connected apps: see sf-deploy
- For OAuth flow diagrams: see sf-diagram-mermaid
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sf-connected-apps/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadolskimm-max/sf-skills/sf-connected-apps)