{"id":22688196,"url":"https://github.com/emanuelefavero/nextjs-app-router-authentication","last_synced_at":"2026-04-18T17:02:07.961Z","repository":{"id":232854279,"uuid":"785336326","full_name":"emanuelefavero/nextjs-app-router-authentication","owner":"emanuelefavero","description":"This is an example of how to implement authentication with Next.js App Router using no libraries","archived":false,"fork":false,"pushed_at":"2024-04-12T15:50:06.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T16:13:06.111Z","etag":null,"topics":["app-router","authentication","nextjs","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emanuelefavero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-11T17:23:00.000Z","updated_at":"2024-04-11T17:24:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4cfe8be-b3b5-415e-bb10-30f65a32f100","html_url":"https://github.com/emanuelefavero/nextjs-app-router-authentication","commit_stats":null,"previous_names":["emanuelefavero/nextjs-app-router-authentication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelefavero/nextjs-app-router-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-app-router-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-app-router-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-app-router-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-app-router-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/nextjs-app-router-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnextjs-app-router-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"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":["app-router","authentication","nextjs","react"],"created_at":"2024-12-10T00:13:25.146Z","updated_at":"2026-04-18T17:02:07.916Z","avatar_url":"https://github.com/emanuelefavero.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js App Router Authentication\n\nThis is a simple example of how to implement a simple authentication with no libraries in Next.js App Router\n\n\u003e Note: This example does not use a database to store user credentials, in a real application you should use a database and modify the expiration time in `lib.ts` (see comment)\n\u003e\n\u003e Note: This project is inspired by Lee Robinson repo: [https://github.com/balazsorban44/auth-poc-next](https://github.com/balazsorban44/auth-poc-next)\n\n#### Screenshot\n\n\u003cimg src=\"screenshot.png\" alt=\"screenshot\" width=\"300\"\u003e\n\n## Getting Started\n\nClone the repository, then:\n\n```bash\nnpm i\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result\n\n## Resources\n\n- [Next.js Authentication](https://nextjs.org/docs/app/building-your-application/authentication)\n- [Lucia Auth](https://lucia-auth.com/)\n- [NextAuth](https://next-auth.js.org/)\n\n## License\n\n- [MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnextjs-app-router-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fnextjs-app-router-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnextjs-app-router-authentication/lists"}