ClaudeSuperPower

netlify-access-control

Skill

Use when the task involves controlling who can reach a Netlify site, or telling Netlify Identity apart from Secure Access. Trigger whenever the user wants to lock a site or deploy to their company/team, restrict access to employees only, build an internal or employees-only app, set up password prote

Install

git clone https://github.com/netlify/context-and-tools.git ~/.claude/skills/netlify-access-control

What is netlify-access-control?

Use when the task involves controlling who can reach a Netlify site, or telling Netlify Identity apart from Secure Access. Trigger whenever the user wants to lock a site or deploy to their company/team, restrict access to employees only, build an internal or employees-only app, set up password protection, SSO, or SAML, asks "who can access my site", or is confused about Netlify Identity vs Secure Access vs team login vs OAuth providers. Routes the request to the right layer — app-level Identity, site-visitor Password Protection, the Auth0 extension, or Team/Org SAML SSO — and explains the two-layer (perimeter + in-app identity) pattern and its double-login tradeoff. For building the app-level auth itself, use the netlify-identity skill.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~187 tokens of context used while enabled, before you invoke anything

Documentation

README · ~5 min read

Netlify Access Control

"Auth" on Netlify means three different things that are easy to conflate. Picking the wrong one — or stacking two when one would do — is the main source of friction. This skill disambiguates the layers and routes you to the right one. For actually building app-level user auth, see the netlify-identity skill.

The three layers

LayerAnswersWho it's forPlanHow it's configured
Netlify Identity"Who is this user inside my app?" (signups, logins, roles; issues nf_jwt)Your app's end usersAll plans, freeDashboard + @netlify/identity code
Password Protection (Secure access to sites)"Can this request even load the site?"Basic: anyone with a shared password · Team login: Netlify team membersBasic: Pro+ · Team login: EnterpriseDashboard-only
Team / Org SAML SSO (Secure access to Netlify)"Can you log in to the Netlify dashboard?" (and, with strict mode, pass the site gate)Netlify team members, via a corporate SAML IdPEnterpriseDashboard-only

These are independent. The nf_jwt cookie is issued by app-level JWT auth: Netlify Identity, or a configured external JWT provider such as Auth0/Okta (the two are mutually exclusive); Password Protection and SAML SSO sessions are separate, with their own lifecycles, and do not populate nf_jwt.

Note on terminology: Netlify's docs file Identity, Password Protection, role-based access, and more under an umbrella called "Secure access to your sites," while SAML SSO lives under "Secure access to Netlify." So "Secure Access" is not one feature — when a user says it, find out whether they mean gating site visitors (Password Protection) or gating dashboard login (SAML SSO).

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.