https://github.com/fjerbi/nextjs-tailwindcss-auth
A Nextjs project that introduces an auth system using Next-auth
https://github.com/fjerbi/nextjs-tailwindcss-auth
googleauth nextauth nextauthstarter nextjs nextjs-boilerplate nextjs-template oauth oauth2 reactjs ready-to-use tailwindcss
Last synced: about 2 months ago
JSON representation
A Nextjs project that introduces an auth system using Next-auth
- Host: GitHub
- URL: https://github.com/fjerbi/nextjs-tailwindcss-auth
- Owner: fjerbi
- Created: 2022-10-23T15:44:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T15:44:57.000Z (over 3 years ago)
- Last Synced: 2025-01-03T07:48:27.839Z (over 1 year ago)
- Topics: googleauth, nextauth, nextauthstarter, nextjs, nextjs-boilerplate, nextjs-template, oauth, oauth2, reactjs, ready-to-use, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## The Project
A Nextjs project that introduces an auth system using Next-auth.
The project contains a Lansing page, Login, and a user profile page.
It is easy to use and to configure if you are in a rush, looking for a ready
to use Nextjs/TailwindCss Project.
## Configuration
You need to create a .env file that contains these variables:
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- NEXTAUTH_URL
- JWT_SECRET
### How to get credentials
- Just access [Google Console](https://console.developers.google.com/apis/credentials), or check the official [NextAuth](https://next-auth.js.org/getting-started/introduction) Docs