·
Last changedVersion:
This version passed the hardening gate. Hardening applied 6 targeted changes and preserved all other text. Classified findings before hardening: 4. Classified findings closed: 0. Classified findings remaining: 4. Unclassified scanner findings remaining: 0. Review findings closed: 4. Review findings remaining: 11.
4
4
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
references/user-import.md | Malicious Code & Command Execution | — | Low | Open | |
references/user-import.md | Supply Chain & Install-Time Trust | Install-time download and execute | Low | Open | |
references/code-patterns.md | Sensitive Data & Secret Exposure | Hardcoded secret | Low | Open | |
references/user-import.md | Sensitive Data & Secret Exposure | Hardcoded secret | Low | Open |
4 findings
Migrate users and authentication flows from existing auth providers to Auth0.
auth0-quickstart for new projects without existing usersCheck if the project already has authentication:
Search for common auth-related patterns in the codebase:
| Pattern | Indicates |
|---|---|
| Firebase Auth |
| Existing auth hooks |
| Passport.js |
| OAuth/OIDC |
| Token-based auth |
| Auth routes |
If existing auth detected, ask:
Export users from your current provider. See User Import Guide for detailed instructions:
Required data per user:
Import users via Dashboard, CLI, or Management API.
For detailed instructions:
Update your application code to use Auth0 SDKs.
See Code Migration Patterns for detailed before/after examples:
Frontend:
Backend:
Provider-Specific:
After migrating code, use framework-specific skills:
auth0-react for React applicationsauth0-nextjs for Next.js applicationsauth0-vue for Vue.js applicationsauth0-angular for Angular applicationsauth0-express for Express.js applicationsauth0-react-native for React Native/Expo applicationsIf your API validates JWTs, update to validate Auth0 tokens.
Key differences:
https://YOUR_TENANT.auth0.com/https://YOUR_TENANT.auth0.com/.well-known/jwks.jsonSee JWT Validation Examples for:
For production applications with active users, use a phased approach:
Support both Auth0 and legacy provider simultaneously:
| Issue | Solution |
|---|---|
Password hashes incompatible | Use Auth0 custom DB connection with lazy migration |
Custom claims missing | Add claims via Auth0 Actions |
Token format different | Update API to validate RS256 JWTs with Auth0 issuer |
Session persistence | Auth0 uses rotating refresh tokens; update token storage |
Users must re-login | Expected for redirect-based auth; communicate to users |
Complete guide to exporting and importing users:
Before/after examples for all major frameworks:
auth0-quickstart - Initial Auth0 setup after migrationauth0-react - React SPA integrationauth0-nextjs - Next.js integrationauth0-vue - Vue.js integrationauth0-angular - Angular integrationauth0-express - Express.js integrationauth0-react-native - React Native/Expo integrationGet started with chainctlchainctl skill install public/auth0/auth0-migration:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/auth0/plugins/auth0/skills/auth0-migration:latest
Apache-2.0
HARDENING.md
LICENSE
SKILL.md
references/code-patterns.md
references/user-import.md