{"id":15553519,"url":"https://github.com/pmall/nextjs-14-authjs-template","last_synced_at":"2026-04-13T22:05:17.342Z","repository":{"id":257603672,"uuid":"858772880","full_name":"pmall/nextjs-14-authjs-template","owner":"pmall","description":"Next.js 14 Authentication Template with Auth.js","archived":false,"fork":false,"pushed_at":"2024-09-17T14:17:46.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T13:51:39.722Z","etag":null,"topics":["authentication","authjs","authjs-template","drizzle","drizzle-orm","nextjs","nextjs14","oauth"],"latest_commit_sha":null,"homepage":"","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/pmall.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-09-17T14:06:21.000Z","updated_at":"2024-09-17T14:27:50.000Z","dependencies_parsed_at":"2024-09-17T18:06:17.480Z","dependency_job_id":null,"html_url":"https://github.com/pmall/nextjs-14-authjs-template","commit_stats":null,"previous_names":["pmall/nextjs-14-authjs-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmall/nextjs-14-authjs-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmall%2Fnextjs-14-authjs-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmall%2Fnextjs-14-authjs-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmall%2Fnextjs-14-authjs-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmall%2Fnextjs-14-authjs-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmall","download_url":"https://codeload.github.com/pmall/nextjs-14-authjs-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmall%2Fnextjs-14-authjs-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31772653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authentication","authjs","authjs-template","drizzle","drizzle-orm","nextjs","nextjs14","oauth"],"created_at":"2024-10-02T14:36:37.899Z","updated_at":"2026-04-13T22:05:17.296Z","avatar_url":"https://github.com/pmall.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js 14 Authentication Template with Auth.js\n\nThis repository is a template for setting up authentication with Auth.js in a Next.js 14 project using the app router and server actions.\n\n### Key Features\n\n- **Directory structure**: All authentication-related files are located in the `/auth` directory.\n- **Authentication methods**:\n  - Magic link via email\n  - OAuth (Google and GitHub)\n  - Additional OAuth providers can be added by modifying the `/auth/index.ts` file.\n- **Custom URL endpoints**: You can configure app-specific URL endpoints in `/auth/config.ts`.\n- **Database adapter**: The `/auth/config.ts` file must export an Auth.js database adapter (in this template, we use Drizzle ORM with PostgreSQL).\n\n### Email Authentication\n\nPlease note that the email sending functionality needs to be implemented according to your setup. In this template, the login link is printed in the console (see `/auth/index.ts`). You can replace this with your preferred email delivery method.\n\n### Components\n\nDefault components are provided in the `/auth/components` directory. The template uses **Tailwind CSS**, so if you plan to use these components, remember to include `\"./auth/components/*.tsx\"` in the `content` array of your `/tailwind.config.ts` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmall%2Fnextjs-14-authjs-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmall%2Fnextjs-14-authjs-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmall%2Fnextjs-14-authjs-template/lists"}