Skip to main content

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
43clientId: process.env.GOOGLE_CLIENT_ID!,
low line 44

Access to .env file

SourceSKILL.md
44clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
low line 47

Access to .env file

SourceSKILL.md
47clientId: process.env.DISCORD_CLIENT_ID!,
low line 48

Access to .env file

SourceSKILL.md
48clientSecret: process.env.DISCORD_CLIENT_SECRET!,
low line 51

Access to .env file

SourceSKILL.md
51clientId: process.env.GITHUB_CLIENT_ID!,
low line 52

Access to .env file

SourceSKILL.md
52clientSecret: process.env.GITHUB_CLIENT_SECRET!,
medium line 167

Access to .env file

SourceSKILL.md
167Add to `.env`:
low line 323

External URL reference

SourceSKILL.md
3231. Go to [Google Cloud Console](https://console.cloud.google.com)
low line 325

External URL reference

SourceSKILL.md
3253. Add authorized redirect URI: `http://localhost:3000/api/auth/callback/google`
low line 329

External URL reference

SourceSKILL.md
3291. Go to [Discord Developer Portal](https://discord.com/developers/applications)
low line 331

External URL reference

SourceSKILL.md
3313. Add redirect URI: `http://localhost:3000/api/auth/callback/discord`
low line 337

External URL reference

SourceSKILL.md
3373. 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 Dashboard
Installation guide →