auth0 avatar

Auth0 Spa Js

This is the low-level Auth0 SDK integration for framework-agnostic SPAs like Vanilla JS, Svelte, or SolidJS. If you're using React, Angular, or Vue, skip this and use their dedicated framework SDKs instead. The skill walks you through the full setup with real code: initializing the client, handling redirect callbacks, wiring up login/logout buttons, and calling protected APIs with access tokens. It includes a build verification step that actually runs npm run build and helps you fix common integration errors like missing env var prefixes or TypeScript target mismatches. The "When NOT to Use" section alone saves you from picking the wrong Auth0 package.

skills.sh installs
434
GitHub stars
56
last updated
Aug 21, 2026

Install

$ npx -y skills add auth0/agent-skills --skill auth0-spa-js --agent claude-code

Installs into .claude/skills of the current project.

Files

This is the low-level Auth0 SDK integration for framework-agnostic SPAs like Vanilla JS, Svelte, or SolidJS. If you're using React, Angular, or Vue, skip this and use their dedicated framework SDKs instead. The skill walks you through the full setup with real code: initializing the client, handling redirect callbacks, wiring up login/logout buttons, and calling protected APIs with access tokens. It includes a build verification step that actually runs npm run build and helps you fix common integration errors like missing env var prefixes or TypeScript target mismatches. The "When NOT to Use" section alone saves you from picking the wrong Auth0 package.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/auth0/agent-skills
Categories
Frontend Development, AI & Agent Building
First seen
Jun 3, 2026

More from auth0/agent-skills

All 23
1dalestudy avatartypescriptdalestudy/skillsTypeScript 타입 정의 및 베스트 프랙티스 스킬. 다음 상황에서 사용: (1) TypeScript 파일(.ts, .tsx) 작성 또는 수정 시, (2) 타입 정의(interface, type) 작업 시, (3) tsconfig.json 설정 또는 컴파일러 옵션 조정 시, (4) 431skills.sh installs
2existential-birds avatardoclingexistential-birds/beagleDocling document parser for PDF, DOCX, PPTX, HTML, images, and 15+ formats. Use when parsing documents, extracting text, converting to Markdown/HTML/JSON, chunk431skills.sh installs
3hairyf avatartaurihairyf/skillsCross-platform app toolkit with Rust backend and WebView frontend. Use when building or maintaining Tauri apps, configuring IPC/security, or developing plugins.431skills.sh installs
4secondsky avatarultracitesecondsky/claude-skillsUltracite multi-provider linting/formatting (Biome, ESLint, Oxlint). Use for v6/v7 setup, provider selection, Git hooks, MCP integration, AI hooks, migrations, 426skills.sh installs
5tartinerlabs avatartestingtartinerlabs/skillsUse when writing tests, running tests, adding test coverage, or debugging test failures. Detects the language and its test runner (JS/TS, Python, Go, Rust) for 419skills.sh installs
6daffy0208 avatarmobile-developerdaffy0208/ai-dev-standardsExpert in React Native, Expo, and cross-platform mobile development416skills.sh installs