connected-apps-and-auth

connected-apps-and-auth is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 81 tokens per session (1,625 once invoked), scanned A, original, Apache-2.0.

A guide to securing Salesforce integrations through connected apps, named credentials, external credentials, and OAuth login flows. OAuth is a standard way for one application to receive limited access to another without sharing a password.

In plain words
What is it for?
Use it to choose authentication flows, configure integration users and permissions, protect endpoints and secrets, and review IP and certificate controls.
Why use it?
It helps keep integration secrets and access rules controlled, while making rotation, revocation, and monitoring part of the design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose authentication flows, configure integration users and permissions, protect endpoints and secrets, and review IP and certificate controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BanibrataChatterjee/AwesomeSalesforceSkills --skill connected-apps-and-auth
Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for connected-apps-and-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth/github.svg)](https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth)
Your own site
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for connected-apps-and-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/connected-apps-and-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01625
Opus 5 $0.00041 $0.00813
Sonnet 5 $0.00016 $0.00325
Haiku 4.5 $0.00008 $0.00162

Measured 9d ago against content hash 8ef5a3c29735, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

connected-apps-and-auth scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_connected_auth.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/admin/connected-apps-and-auth/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Salesforce Admin expert in integration authentication and connected-app governance. Your goal is to choose the right auth flow for each integration, keep secrets and endpoints out of fragile places, and make access revocation, rotation, and monitoring part of the design from day one.

Before Starting

Check for salesforce-context.md in the project root. If present, read it first. Only ask for information not already covered there.

Gather if not available:

  • Is the traffic inbound to Salesforce, outbound from Salesforce, or both?
  • Does the integration need machine-to-machine access or user-delegated access?
  • Which systems and environments are involved?
  • Which scopes, objects, and actions are actually required?
  • What integration user or principal will own the connection?
  • What are the expectations for secret rotation, certificate rotation, revocation, and IP controls?

How This Skill Works

Mode 1: Build from Scratch

Use this for a new integration or a redesign away from brittle legacy auth.

  1. Define direction first: external system into Salesforce, Salesforce out to another platform, or user-delegated app access.
  2. Choose the flow that matches the trust model: client credentials, JWT bearer, auth code, or Named Credential pattern.
  3. Create dedicated integration identity with least privilege.
  4. Keep endpoint and auth config in connected apps, Named Credentials, and External Credentials instead of in code.
  5. Define operational controls: rotation, revocation, monitoring, and failure handling.
  6. Separate environments cleanly so DEV and PROD auth do not depend on code changes.

Mode 2: Review Existing

Use this for inherited connected apps, mystery integrations, or orgs with secret sprawl.

  1. Inventory connected apps, Named Credentials, External Credentials, and integration users.
  2. Check whether each integration still has a known owner, purpose, and scope.
  3. Check whether any integration is using admin users, hardcoded secrets, or direct endpoints in code.
  4. Check whether scopes and permissions are broader than necessary.
  5. Check whether revoke and rotate actions have been tested, not just described.

Read the full file on GitHub · 137 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 137 lines · 81 tokens per session scan A 8ef5a3c29735

Subscribe to this mod's changes

connected-apps-and-auth is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,625 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

connected-apps-and-auth

Use when designing, reviewing, or troubleshooting Salesforce connected apps, External Client Apps, Named Credentials, External Credentials, and OAuth-based integration access. Triggers: 'connected app', 'OAuth flow', 'client credentials', 'JWT bearer', 'Named Credential', 'External Credential', 'integration user', 'IP…

PranavNagrecha/AwesomeSalesforceSkills · 106 tokens

connected-app-troubleshooting

Troubleshooting Connected App OAuth flows — IP relaxation vs IP restriction, refresh token policy traps (default kills the connection on first refresh), session-revocation semantics, the OAuth error-code catalog (invalidgrant, invalidclientid, unsupportedgranttype), per-user vs admin-pre-approved flows, and the…

PranavNagrecha/AwesomeSalesforceSkills · 135 tokens

hunt-django

Hunt Django-specific vulnerabilities: DRF permission gaps, ORM injection, and admin exploitation.

uphiago/recon-skills · 22 tokens

owl-admin-app-dev

Use this skill when developing an application that installed slowlyo/owl-admin, especially backend CRUD, menus, permissions, controllers, services, routes, config/admin.php, app/Admin, helper functions, settings(), adminpages(), AdminPipeline, upload/file preview issues, route conflicts, custom login/menu examples, or…

slowlyo/owl-admin · 114 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

owl-admin-ops-commands

Use this skill for Owl Admin installation, publishing assets, upgrades, diagnostics, database inspection, menu maintenance, user creation, password reset, route generation, IDE helper, admin:publish, admin:install, admin:update, admin:doctor, admin:db, admin:menu, admin:create-user, or deployment troubleshooting.

slowlyo/owl-admin · 71 tokens