{"id":22559675,"url":"https://github.com/taurusilver7/next-auth","last_synced_at":"2025-08-15T15:24:42.364Z","repository":{"id":214946808,"uuid":"737749269","full_name":"taurusilver7/next-auth","owner":"taurusilver7","description":"A custom Next-Authentication V.5.0 with Typescript \u0026 Prisma + Postgresql","archived":false,"fork":false,"pushed_at":"2024-02-15T15:47:15.000Z","size":471,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T12:12:06.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/taurusilver7.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}},"created_at":"2024-01-01T10:58:07.000Z","updated_at":"2024-01-01T10:58:44.000Z","dependencies_parsed_at":"2024-02-15T16:48:26.727Z","dependency_job_id":"f3483f3e-148e-4876-b819-4ff3b73113bc","html_url":"https://github.com/taurusilver7/next-auth","commit_stats":null,"previous_names":["taurusilver7/next-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taurusilver7/next-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fnext-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fnext-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fnext-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fnext-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taurusilver7","download_url":"https://codeload.github.com/taurusilver7/next-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taurusilver7%2Fnext-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270586490,"owners_count":24611317,"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-08-15T02:00:12.559Z","response_time":110,"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":[],"created_at":"2024-12-07T21:07:56.210Z","updated_at":"2025-08-15T15:24:42.356Z","avatar_url":"https://github.com/taurusilver7.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next-Auth V.5\n\n\u003e A Custom Authentication Service, built by Next-Auth, Typescript, TailwindCSS, Prisma \u0026 Neon Postgresql Database.\n\n![Next-Auth](https://i.ibb.co/M2fsvMq/next-auth.jpg)\n\n## Key Features\n\n-  🔐 Next.js 14 with Next-Auth v5 \u0026 server actions\n-  🔑 Credentials Provider\u0026 OAuth Provider (Social login with Google \u0026 GitHub)\n-  🔒 Email verification \u0026 Forgot password functionality\n-  📱 Two factor verification (2FA)\n-  👥 User roles (Admin \u0026 User)\n-  🔓 Login component (Opens in redirect or modal) \u0026 Register component.\n-  ✅ Forgot password, email-verification component\n-  🔍 Exploring next.js middleware, next-auth sessions \u0026 next-auth callbacks.\n-  👤 useCurrentUser \u0026 useRole hooks.\n-  🧑 currentUser \u0026 currentRole utilities.\n-  🚧 Render content for admins using RoleGate component\n-  🛡️ Protect API Routes \u0026 Server Actions for admins only.\n-  📧 Change email with new verification in Settings\n-  🔑 Change password with old password confirmation in Settings\n-  🔔 Enable/disable two-factor auth in Settings.\n-  🔄 Change user role in Settings page (for development only)\n\n## Availabel Scripts\n\nFirst, run the development server:\n\n```bash\nnpx create-next-app@latest --typescript --tailwind --esling\n# or\nnpm run dev\n# or\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nAdd [shadcn-ui](https://ui.shadcn.com/docs/installation/next), a reusable component library for quick \u0026 crisp UI components.\n\n```bash\nnpx shacn-ui@latest init\n# and\nnpx shadcn-ui@latest add \u003ccomponent_name\u003e\n```\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n-  [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n-  [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaurusilver7%2Fnext-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaurusilver7%2Fnext-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaurusilver7%2Fnext-auth/lists"}