NextAuth Web
Use this skill as a basic starting point.
Workflow
- Review the current Next.js auth and routing structure.
- Identify provider, session, and protected route requirements.
- Keep auth callbacks and session data explicit.
- Match login and logout flows to the existing UI.
- Verify authenticated and unauthenticated behavior.
Output
- Produce practical authentication changes.
- Keep access control secure and maintainable.
- Prefer simple flows over fragmented auth logic.