{"id":24844412,"url":"https://github.com/tapascript/learn-next-auth","last_synced_at":"2025-10-14T16:31:08.570Z","repository":{"id":239044400,"uuid":"797138297","full_name":"tapascript/learn-next-auth","owner":"tapascript","description":"Learn Next-Auth(V5)/Auth.js with plenty of examples, projects, and video tutorials","archived":false,"fork":false,"pushed_at":"2024-07-30T14:18:24.000Z","size":159,"stargazers_count":153,"open_issues_count":1,"forks_count":30,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T09:04:01.860Z","etag":null,"topics":["next-auth-v5","nextjs","nextjs15"],"latest_commit_sha":null,"homepage":"https://youtube.com/@tapasadhikary","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tapascript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["atapas"]}},"created_at":"2024-05-07T09:11:30.000Z","updated_at":"2025-04-03T17:19:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"28c7afb7-2c05-4ad5-b995-db4ee18bc2c2","html_url":"https://github.com/tapascript/learn-next-auth","commit_stats":null,"previous_names":["tapascript/learn-next-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tapascript/learn-next-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapascript%2Flearn-next-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapascript%2Flearn-next-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapascript%2Flearn-next-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapascript%2Flearn-next-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tapascript","download_url":"https://codeload.github.com/tapascript/learn-next-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapascript%2Flearn-next-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019573,"owners_count":26086752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["next-auth-v5","nextjs","nextjs15"],"created_at":"2025-01-31T09:18:22.899Z","updated_at":"2025-10-14T16:31:08.286Z","avatar_url":"https://github.com/tapascript.png","language":"JavaScript","funding_links":["https://github.com/sponsors/atapas"],"categories":[],"sub_categories":[],"readme":"\n## Learn Next Auth(Version 5)\n\nThis repository contains the source code for the educational video on the [tapaScript YouTube Channel](https://www.youtube.com/tapasadhikary). You will find various Next-Auth implementation details and the source code in this repository.\n\n\u003e **SUBSCRIBE TO [tapaScript](https://www.youtube.com/@tapasadhikary) and support me ❤️ 🙏 ☺️**\n\n## The Implementations:\n\n- [Integrate Google OAUTH](https://github.com/tapascript/learn-next-auth/tree/01-integrate-google-provider) =\u003e [Watch the Video Tutorial](https://www.youtube.com/watch?v=O8Ae6MC5bf4)\n- [Integrate GitHub OAUTH](https://github.com/tapascript/learn-next-auth/tree/02-integrate-github-provider) =\u003e [Watch the Video Tutorial](https://www.youtube.com/watch?v=O8Ae6MC5bf4)\n- [Next-Auth Credential Provider](https://github.com/tapascript/learn-next-auth/tree/03-credential-auth) =\u003e [Watch the Video Tutorial](https://www.youtube.com/watch?v=4m7u7zGbdTI)\n- [Next.js Authentication || Register User To MongoDB With Next-Auth V5](https://github.com/tapascript/learn-next-auth/tree/04-persist-auth-mongo) =\u003e [Watch the Video Tutorial](https://www.youtube.com/watch?v=5kmZAqc2Jeg)\n- [Next.js Middleware Crash Course || App Router Protected Routes](https://github.com/tapascript/learn-next-auth/tree/05-middleware) =\u003e [Watch the Video Tutorial](https://www.youtube.com/watch?v=jHrjnZM26i4)\n- [Refresh Token Rotation With Next-Auth V5 || Managing Tokens](https://github.com/tapascript/learn-next-auth/tree/06-token-management) =\u003e [Watch the Video Tutorial](https://youtu.be/95fuP8jpWlk)\n\n## 🫶 Support\nLiked my work? You can show your support with a STAR(⭐).\n\n### Many Thanks to all the `Stargazers` who have supported this project with stars(⭐)\n\n[Thanks to all stargazers](https://github.com/tapascript/learn-next-auth/stargazers)\n\n## 🙏 Please Sponsor My Work\n\n\u003e I am an independent educator who creates meaningful projects to teach programming. You can support me further by [sponsoring me on GitHub](https://github.com/sponsors/atapas).\n\n\n## How to Set up and Run Locally\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started\n\n- First, install dependencies using,\n  \n  ```bash\n  npm install\n  ```\n\n- Create a `.env` file at the root of the project folder with the following content:\n  \n  ```bash\n  GOOGLE_CLIENT_ID=\u003cYOUR_GOOGLE_CLIENT_ID\u003e\n  GOOGLE_CLIENT_SECRET=\u003cYOUR_GOOGLE_CLIENT_ID\u003e\n  GITHUB_CLIENT_ID=\u003cYOUR_GITHUB_CLIENT_ID\u003e\n  GITHUB_CLIENT_SECRET=\u003cYOUR_GITHUB_CLIENT_ID\u003e\n  AUTH_SECRET=\"Auth Secret\"\n  ```\n- Then, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapascript%2Flearn-next-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftapascript%2Flearn-next-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapascript%2Flearn-next-auth/lists"}