Crossly OAUTH apps
БесплатноБез исполняемых скриптовНе проверенBuild a third-party app on Crossly. Register an OAuth app for a store (POST /v1/developer/apps, clientSecret shown once), pick confidential vs public…
от crossly72 установки в других каталогахОб этом скилле
Build a third-party OAuth app on Crossly
A personal access token is for your own scripts. Software that other sellers install is an OAuth app: the seller clicks Connect, sees Crossly's consent screen, and your app gets scoped tokens for their account. Every app belongs to one of your stores, which is paid what the app earns. For the token basics and base URLs see crossly-api-setup; for pagination, errors, rate limits and idempotency see crossly-api-conventions.
Setup
- Create a free Crossly account: https://crossly.net/register
- Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a
crossly_pat_test_token against the sandbox while building. - Export it as
CROSSLY_PATand send it asAuthorization: Bearer $CROSSLY_PATtohttps://crossly.net/api/v1/*. Full docs: https://crossly.net/docs
1. Register the app
Dashboard: Settings → API & developers → Your OAuth apps → New app. Over the API, with your own PAT (apps:read to read, apps:write to write; no app token can ever hold apps:*):
| Method and path | Scope | Does |
|---|---|---|
GET /v1/developer/apps |
apps:read |
Your stores' apps. ?storefrontId, q, status (live, in_review, listed, needs_store, revoked, all), page, pageSize (max 100). meta.stores = stores you may register apps for |
GET /v1/developer/apps/{appId} |
apps:read |
One app with its owning store |
POST /v1/developer/apps |
apps:write |
Register. 201; data.clientSecret is returned once (null for a public client) |
PATCH /v1/developer/apps/{appId} |
apps:write |
Name, redirect URIs, scopes, revenue share. Existing installs keep the terms they agreed to |
PUT /v1/developer/apps/{appId}/store |
apps:write |
{ storefrontId }: move the app to another store of the same business. Unpaid earnings move; client id, secret, installs and webhooks don't |
Body of POST (the OpenAPI spec does not describe it; these are the zod limits in the route):
| Field | Type / limits |
|---|---|
name |
required, 1–80 chars |
redirectUris |
required, 1–10, each ≤ 500 chars, no duplicates |
scopes |
required, ≥ 1, the app's ceiling |
isPublic |
boolean, default false (confidential) |
storefrontId |
uuid; default the store in X-Storefront-Id, else your default store. None: 409 (reason: store_required) |
description (≤ 500), homepageUrl, logoUrl (URLs ≤ 500) |
optional |
monetization |
free | revenue_share |
revShareBps |
integer 0–5000 (5000 = 50 % of the seller's take-home, the ceiling) |
revShareCapCents, revShareMinOrderCents |
integer cents |
payoutMethod |
external | cbx |
import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! }); // apps:write
const { data: app } = await crossly.apps.register({
name: 'LabelBot',
redirectUris: ['https://labelbot.example/oauth/callback', 'http://localhost:5173/callback'],
scopes: ['openid', 'offline_access', 'orders:read', 'fulfillment:write', 'webhooks:write'],
isPublic: false,
});
// app.clientId, app.clientSecret (store it now: it is never shown again)
Other SDK methods: crossly.apps.mine(), mineOne(appId), update(appId, input), setStore(appId, storefrontId).
curl -X POST https://crossly.net/api/v1/developer/apps \
-H "Authorization: Bearer $CROSSLY_PAT" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name":"LabelBot","redirectUris":["https://labelbot.example/oauth/callback"],"scopes":["openid","offline_access","orders:read","fulfillment:write"]}'
Confidential vs public
Confidential (isPublic: false) |
Public (isPublic: true) |
|
|---|---|---|
| For | a server that can keep a secret | SPAs, mobile, desktop, CLIs |
| Secret | shown once; rotate on the app card (rotating disconnects nobody) | none |
| Token endpoint auth | HTTP Basic (client_secret_basic) |
client_id only |
| PKCE S256 | required | required |
Redirect URIs
Matched exactly: no wildcards, no trailing-slash forgiveness, no #fragment. https:// anywhere; http:// only for localhost, 127.0.0.1 or [::1]; custom schemes (myapp://callback) are allowed. Anything else is a 400 at registration. An unknown client_id or unregistered redirect_uri is never redirected back to.
2. Scopes an app may request
The app declares a ceiling at registration and requests any subset at authorize time. A scope outside the ceiling, an unknown scope, or a forbidden one is rejected (invalid_scope), never silently trimmed.
| Rule | Scopes |
|---|---|
Never grantable to a third-party app (THIRD_PARTY_FORBIDDEN_SCOPES) |
*, billing:write, team:read, team:manage, payouts:write, funding:write, funding:approve, apps:read, apps:write, worlds:stats:read, worlds:versions:publish, `worl |
Установить Crossly OAUTH apps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Crossly OAUTH apps?
Build a third-party app on Crossly. Register an OAuth app for a store (POST /v1/developer/apps, clientSecret shown once), pick confidential vs public, exact-match redirect URIs, request only grantable scopes (never *, billing:write, team:*, payouts:write, funding:*, apps:*), run the Atlas authorization-code + PKCE S256 flow (issuer https://crossly.net/atlas, resource=https://crossly.net/api/v1, 8 h JWT access tokens, rotating refresh tokens, revoke), register app-owned webhooks filtered by granted scopes, link app-managed listings (POST /v1/listings/link, listings:manage, listing commands, orders:manage), set revenue share, read app health (GET /v1/developer/apps/{appId}/health) and list the app in the directory (PUT /v1/developer/apps/{appId}/listing). Use when building an integration other Crossly sellers install, debugging OAuth errors (invalid_scope, owner_only, app_not_verified), or managing an app's profile, review, earnings or sandbox.
Как установить скилл Crossly OAUTH apps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Crossly OAUTH apps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic