git clone https://github.com/Navin-Jethwani-76/next-google-auth
cd next-google-auth && npm install
NOTE: Follow these steps to setup your Web Application in Google Cloud Console.
GOOGLE_CLIENT_ID=your_client_id
JWT_SECRET=your_jwt_secret
AUTH_TOKEN_NAME=authToken #any other name you prefer
npm run dev
Open http://localhost:3000 with your browser to see the result.
If you face any issues with this guide, Open a New Issue on Github
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy this app is to use the Vercel Platform.
Check out our Next.js deployment documentation for more details.