oauth
Skill2 starsChanged 7 months agoMITView on GitHub
Prizmad OAuth 2.1 — Authorization Code + PKCE + Dynamic Client Registration is the primary path (powers Claude Desktop / Claude.ai / ChatGPT / Cursor "Connect" flow). client_credentials remains for headless / programmatic clients.
- Sends data out
16 other projects use a version of this.
Adopted by
Most recently taken up by
- fennih/hunterkittheir own version, first seen Nov 29, 2026
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- poizoncoded/skillstheir own version, first seen Nov 1, 2026
- vercel-labs/portlesstheir own version, first seen Oct 29, 2026
- bsene/skillstheir own version, first seen Oct 25, 2026
- Nirusan/claude-configtheir own version, first seen Oct 13, 2026
Used with
Projects with it also use grpc, linting-neostandard-eslint9 and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Sorcha-PlatformSkillgrpc
Build or review gRPC services and clients in .NET. USE FOR: ASP.NET Core gRPC, protobuf contracts, unary or streaming RPC, gRPC client factory, interceptors, deadlines, cancellation, channel reuse, backend service integration. DO NOT USE FOR: broad browser-facing APIs without gRPC-Web tradeoff review, SignalR realtime hubs, plain REST APIs. INVOKES: dotnet build/test and focused service or client smoke checks when code changes.
Also in 5 projects that use this
mcollinaSkilllinting-neostandard-eslint9
Configures ESLint v9 flat config and neostandard for JavaScript and TypeScript projects, including migrating from legacy `.eslintrc*` files or the `standard` package. Use when you need to set up or fix linting with `eslint.config.js` or `eslint.config.mjs`, troubleshoot lint errors, configure neostandard rules, migrate from `.eslintrc` to flat config, or integrate linting into CI pipelines and pre-commit hooks.
Also in 3 projects that use this
mcollinaSkilloctocat
Use this skill whenever the prompt contains any `github.com` URL, even if the user only pastes a link and gives no GitHub-specific keywords. Handles git and GitHub operations using the gh CLI. Triggers include any GitHub link to an issue, pull request, commit, compare page, Actions run, release, discussion, or repository. Covers creating and reviewing PRs, repository security advisories (GHSA), their comments, and fix PRs in their temporary private forks, private vulnerability report discussions, watching CI checks, interactive rebasing, branch cleanup, submodule management, and repository archaeology with git log/blame/bisect.
Also in 3 projects that use this
SubhiSecSkillssti
Hunt Server-Side Template Injection (SSTI) in Jinja2, Twig, Freemarker, Velocity, Smarty, ERB, Handlebars, Mustache, and Spring (SpEL). Use when input is reflected in a way that suggests template rendering — error pages, email templates, PDF generators, dynamic content systems.
Also in 5 projects that use this
Sorcha-PlatformSkilljwt
Implements JWT Bearer authentication for service-to-service and user authorization. Use when: Configuring authentication, creating authorization policies, issuing/validating tokens, or troubleshooting 401/403 errors.
Also in 4 projects that use this
SubhiSecSkillxss
Hunt reflected, stored, and DOM-based Cross-Site Scripting (XSS) including CSP bypass, polyglot payloads, mutation XSS (mXSS), markdown XSS, and template XSS. Use when the user has identified a parameter or input that reflects to the page, or wants to test for XSS in a specific input.
Also in 4 projects that use this
- +2 more from SubhiSec
- +1 more from mcollina
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- vercel-labs/portless★ 13ksame name
- mcollina/skills★ 2ksame name
- ThePrimeagen/skills★ 234same name
- G1Joshi/Agent-Skills★ 15same name
- bsene/skills★ 7same name
- Nirusan/claude-config★ 7same name
- sunilgentyala/OmniRed★ 5same name
- emre-guler/websec★ 2same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- poizoncoded/skills★ 2same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- api-usageSkill
- markdown-negotiationSkill
- mcp-serverSkill
- prizmad-video-adsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 132
All endpoints (/oauth/authorize, /oauth/token, /oauth/register) live on the same origin as the MCP server (https://prizmad.com).
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prizmad OAuth 2.1
Prizmad publishes a full OAuth 2.1 authorization server with Dynamic Client Registration. Three grant types are supported, each for a different audience:
| Grant | When | Output |
authorization_code (PKCE S256, public client) | Interactive MCP / connector flow — Claude Desktop, Claude.ai, ChatGPT, Cursor, Zed | RS256 JWT, audience https://prizmad.com/api/mcp, 1 h, refresh-rotated |
refresh_token | Companion to authorization_code | Same shape; old refresh is single-use, reuse revokes the chain |
client_credentials | Headless / server-to-server using an API key as client_secret | HS256 JWT, audience https://prizmad.com/api, 1 h |
The MCP server also accepts the raw API key (przmad_sk_live_...) as a Bearer token directly, without going through OAuth at all.
Discovery
- Authorization server metadata: https://prizmad.com/.well-known/oauth-authorization-server
- Protected resource metadata: https://prizmad.com/.well-known/oauth-protected-resource
- JWKS: https://prizmad.com/.well-known/jwks.json
Authorization Code + PKCE (the "Connect" flow)
This is what runs when a user clicks Add custom connector → enter https://prizmad.com/api/mcp in Claude Desktop, Claude.ai, ChatGPT, Cursor, etc. The client implements RFC 7591 / 8414 / 9728 / 7636 / 8707; no manual app registration is needed.
1. POST /api/mcp without auth
← 401 + WWW-Authenticate: Bearer resource_metadata="…"
2. GET /.well-known/oauth-protected-resource
GET /.well-known/oauth-authorization-server
3. POST /oauth/register
Body (RFC 7591):
{
"client_name": "<your app>",
"redirect_uris": ["<your callback URL>"],
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "none"
}
← 201 { "client_id": "mcp_…", … } (no client_secret — public client)
4. Browser to /oauth/authorize?
response_type=code
& client_id=<from step 3>
& redirect_uri=<from step 3>
& code_challenge=<S256(verifier)>
& code_challenge_method=S256
& scope=videos:read videos:write
& resource=https://prizmad.com/api/mcp
& state=<csrf>
User signs in (NextAuth) and approves on the consent screen.
← 302 redirect_uri?code=…&state=…
5. POST /oauth/token
grant_type=authorization_code
code=<from step 4>
redirect_uri=<from step 3>
client_id=<from step 3>
code_verifier=<original PKCE verifier>
resource=https://prizmad.com/api/mcp
← 200 { "access_token": "<RS256 JWT>", "refresh_token": "…", "expires_in": 3600, "token_type": "Bearer" }
6. POST /api/mcp with Authorization: Bearer <access_token>
← MCP traffic.Refresh:
curl -X POST https://prizmad.com/oauth/token \
-d grant_type=refresh_token \
-d refresh_token=<previous refresh_token> \
-d client_id=<client_id>Returns a fresh access token + a new refresh token; the previous refresh is single-use. Reusing a revoked refresh token revokes the entire chain (defence against token theft).
client_credentials (headless / programmatic)
Quickest way to turn a long-lived API key into a short-lived bearer for server-to-server calls.
Form-encoded
curl -X POST https://prizmad.com/oauth/token \
-d grant_type=client_credentials \
-d client_id=my-app \
-d client_secret=przmad_sk_live_...JSON
curl -X POST https://prizmad.com/oauth/token \
-H "Content-Type: application/json" \
-d '{"grant_type":"client_credentials","client_id":"my-app","client_secret":"przmad_sk_live_..."}'Basic Auth
curl -X POST https://prizmad.com/oauth/token \
-u "my-app:przmad_sk_live_..." \
-d grant_type=client_credentialsResponse
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "videos:read videos:write"
}Scopes
| Scope | Description |
videos:read | Read video status, projects, assets |
videos:write | Create videos, upload images, mutate projects |
Notes
- All endpoints (
/oauth/authorize,/oauth/token,/oauth/register) live on the same origin as the MCP server (https://prizmad.com). This sidesteps the Claude.ai web bug that ignores cross-origin authorization endpoints. - Access tokens expire after 1 hour. Refresh tokens last 30 days, single-use with rotation.
- API keys (
przmad_sk_live_...) continue to work directly as Bearer tokens — OAuth is only needed when the client requires it. - Rate limit: 10 token requests per minute per identity.
client_secretfield, when used, is your Prizmad API key.client_idforclient_credentialsis a free-form identifier.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

