mirror of
https://github.com/mikndotdev/next-discord-auth.git
synced 2026-08-18 02:47:38 +00:00
Discord OAuth for Next.js that doesn't suck
https://npm.im/@mikandev/next-discord-auth
- TypeScript 99.1%
- JavaScript 0.9%
| .github/workflows | ||
| src | ||
| types | ||
| .gitignore | ||
| biome.json | ||
| build.js | ||
| build.ts | ||
| bun.lock | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Next Discord Auth
JWT-based Discord authentication for Next.js that doesn't suck
- Works with Next.js 16
- No database required
- Returns all user data from Discord
- Fully server-side
- Support for Server Actions and Route Handlers
- Designed for easy migration from AuthJS
Installation
npm install @mikandev/next-discord-auth
Demo
You can see a live demo of this package in action at
https://next-discord-auth-demo.maamokun.workers.dev
Open Source
This package is open source and available under the WTFPL License.
Feel free to contribute or use it in your projects!
