catalyst-authentication
БесплатноБез исполняемых скриптовНе проверенCatalyst Authentication — user login/signup, ZAID, Web SDK auth flows, OAuth token management via Connections, third-party authentication (Okta, Auth0, Duo…
от catalystbyzoho★ 80 звёзд на GitHubОб этом скилле
Local auth requires plain catalyst serve
Auth works locally only when served through catalyst serve. NEVER use the native dev server (npm run dev, vite, next dev, ng serve, etc.) for auth development — the Catalyst auth middleware, cookie injection, and /__catalyst/sdk/init.js are only available through catalyst serve.
How It Works
- Identify flow type — Hosted login (redirect to Catalyst login page), embedded login (custom UI), or backend
getCurrentUsercheck. - Load
references/auth-basics.md— for signup/login flows, ZAID gotcha, hosted vs embedded login, and common auth errors. - ZAID warning — ZAID differs between Development and Production. This is the #1 auth issue in production. Always verify the environment.
- Security Rules — If the query involves controlling who can invoke a function, route to
catalyst-functionsskill and itsreferences/functions-basics.mdSecurity Rules section. Security Rules has two parameters: (a)methods— which HTTP methods (GET/POST/PUT/DELETE/PATCH) are enabled for the function (removing a method blocks that verb entirely), and (b)authentication— a single binary flag (optional= public,required= authenticated users only) applied function-wide, not per-method. For role-based data access control, route to DataStore Scopes and Permissions (Console → Table → Scopes and Permissions). - OAuth / Connections — Load
references/connections.mdfor external API OAuth token management (Zoho or third-party). - Third-party auth / social logins — If the query involves Okta, Auth0, Duo, custom IdP, Google/Facebook/LinkedIn/Microsoft login,
generateCustomToken, orsigninWithJwt, loadreferences/auth-thirdparty.md.
Security Checklist
- ZAID is environment-specific. The Development ZAID is different from the Production ZAID. Social logins (Google, Facebook, LinkedIn, Microsoft) configured in Development MUST be reconfigured with the Production ZAID and production app domain before going live — using the wrong ZAID causes all social logins to silently fail in production.
- Public Signup is off by default — enable it on purpose. Turn it on when the app is ready for real users (or for testing on a project with no real data). To control who can join, keep it on with Custom User Validation, which approves or rejects each signup. While Public Signup is on, anyone can sign up and read Global-scope tables. Full go-live checklist:
../catalyst-basics/references/secure-practices.md. - Whitelist only trusted domains. CORS in Authorized Domains gives that domain access to the app client and every function endpoint.
- DataStore permissions are separate from function-level auth. Requiring authentication in Security Rules only controls who can call the function. App User table permissions (Console → Table → Scopes and Permissions) separately control which DataStore operations authenticated users can perform.
Triggers
Use this skill for: "authentication", "user management", "login", "signup", getCurrentUser, "ZAID", registerUser, isUserAuthenticated, signOut, "cross-domain logout", "hosted login", "embedded login", "Connections", "OAuth token", getConnector, getAccessToken, "Security Rules", "App User", "credentials include", "auth redirect", "third-party auth", "third-party authentication", "social login", "Google login", "Facebook login", "LinkedIn login", "Microsoft login", signinWithJwt, generateCustomToken, "Okta", "Auth0", "Duo", "custom IdP", "public signup", "Custom User Validation", "restrict who can sign up".
References
| Reference | Load when the query is about… |
|---|---|
references/auth-basics.md |
User signup/login, getCurrentUser, Web SDK auth flows, ZAID gotcha, hosted vs embedded login, common auth errors |
references/auth-thirdparty.md |
Third-party auth services (Okta, Auth0, Duo), social logins (Google/Facebook/LinkedIn/Microsoft), generateCustomToken, signinWithJwt, token flow, console setup |
catalyst-functions skill |
Security Rules — function invocation control (methods, authentication: optional/required) |
references/connections.md |
OAuth token management for external APIs — getConnector, getAccessToken, Zoho and third-party service connections |
Установить catalyst-authentication в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл catalyst-authentication?
Catalyst Authentication — user login/signup, ZAID, Web SDK auth flows, OAuth token management via Connections, third-party authentication (Okta, Auth0, Duo, custom IdP), social logins (Google, Facebook, LinkedIn, Microsoft), generateCustomToken, signinWithJwt. Trigger on 'authentication', 'login', 'signup', 'getCurrentUser', 'ZAID', 'isUserAuthenticated', 'signOut', 'Connections', 'getAccessToken', 'third-party auth', 'social login', 'Google login', 'signinWithJwt', or 'generateCustomToken'. You MUST load this skill whenever implementing user login or protecting data — ZAID differs between Development and Production and is the #1 cause of auth failures after environment promotion. For Security Rules (function invocation control), route to catalyst-functions.
Как установить скилл catalyst-authentication?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл catalyst-authentication запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic