nextauth
Configures NextAuth.js v5 for OAuth authentication with Prisma, enabling secure login/logout and session management.
Install this skill
or
81/100
Security score
The nextauth skill was audited on Feb 23, 2026 and we found 15 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
low line 43
Access to .env file
SourceSKILL.md
| 43 | clientId: process.env.GOOGLE_CLIENT_ID!, |
low line 44
Access to .env file
SourceSKILL.md
| 44 | clientSecret: process.env.GOOGLE_CLIENT_SECRET!, |
low line 47
Access to .env file
SourceSKILL.md
| 47 | clientId: process.env.DISCORD_CLIENT_ID!, |
low line 48
Access to .env file
SourceSKILL.md
| 48 | clientSecret: process.env.DISCORD_CLIENT_SECRET!, |
low line 51
Access to .env file
SourceSKILL.md
| 51 | clientId: process.env.GITHUB_CLIENT_ID!, |
low line 52
Access to .env file
SourceSKILL.md
| 52 | clientSecret: process.env.GITHUB_CLIENT_SECRET!, |
medium line 167
Access to .env file
SourceSKILL.md
| 167 | Add to `.env`: |
low line 323
External URL reference
SourceSKILL.md
| 323 | 1. Go to [Google Cloud Console](https://console.cloud.google.com) |
low line 325
External URL reference
SourceSKILL.md
| 325 | 3. Add authorized redirect URI: `http://localhost:3000/api/auth/callback/google` |
low line 329
External URL reference
SourceSKILL.md
| 329 | 1. Go to [Discord Developer Portal](https://discord.com/developers/applications) |
low line 331
External URL reference
SourceSKILL.md
| 331 | 3. Add redirect URI: `http://localhost:3000/api/auth/callback/discord` |
low line 337
External URL reference
SourceSKILL.md
| 337 | 3. Add callback URL: `http://localhost:3000/api/auth/callback/github` |
low line 406
External URL reference
SourceSKILL.md
| 406 | - [NextAuth.js v5 Documentation](https://authjs.dev) |
low line 407
External URL reference
SourceSKILL.md
| 407 | - [Prisma Adapter](https://authjs.dev/getting-started/adapters/prisma) |
low line 408
External URL reference
SourceSKILL.md
| 408 | - [OAuth Providers](https://authjs.dev/getting-started/providers) |
Scanned on Feb 23, 2026
View Security DashboardGitHub Stars 106
Rate this skill
Categorydevelopment
UpdatedMay 21, 2026
majiayu000/claude-skill-registry