Entradas
Mis apuntes de NEXT.JS
- Obtener enlace
- Correo electrónico
- Otras aplicaciones
Mis apuntes next-auth
- Obtener enlace
- Correo electrónico
- Otras aplicaciones
Fuente: https://www.hamedbahram.io/notes/next-auth-v4 documentacion ofical: https://next-auth.js.org/getting-started/introduction Instalacion npm install next - auth páginas/api/auth/[... nextauth].js import NextAuth from ' next-auth ' import GithubProvider from ' next-auth/providers/github ' export default NextAuth ( { providers : [ GithubProvider ( { clientId : process . env . GITHUB_ID , clientSecret : process . env . GITHUB_SECRET } ) // ...add more providers here ] } )