vercel / next-learn

Learn Next.js Starter Code
https://next-learn-dashboard.vercel.sh/
MIT License
3.79k stars 1.93k forks source link

Could you please add GithubProvider in the next-learn? #653

Closed wade-liwei closed 6 months ago

wade-liwei commented 7 months ago

I am a frontend beginner, and I need the login with GithubProvider. but in the example links(https://github.com/nextauthjs/next-auth-example), add auth method does not likes in the next-learn project.

delbaoliveira commented 6 months ago

Hey @wade-liwei, thank you for the feedback.

Not sure if you have seen this already, but the new Auth.js docs has a page for the Github Provider: https://authjs.dev/getting-started/providers/github

Just as an FYI, we're removing NextAuth from the learn course as we have found that it can be overwhelming for beginners and it doesn't reflect our current auth recommendations. If you'd like to learn more about auth, I've written a guide that goes through the principles of auth and what Next.js features to use, including guides from popular auth libraries: https://nextjs.org/docs/app/building-your-application/authentication