{"id":22688304,"url":"https://github.com/emanuelefavero/next-auth","last_synced_at":"2026-04-29T17:39:53.306Z","repository":{"id":69318095,"uuid":"597613972","full_name":"emanuelefavero/next-auth","owner":"emanuelefavero","description":"a starter project for Next.js with authentication using NextAuth.js","archived":false,"fork":false,"pushed_at":"2023-02-05T07:32:23.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T16:50:29.264Z","etag":null,"topics":["authentication","nextauth","nextjs"],"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":"2023-02-05T04:21:55.000Z","updated_at":"2023-05-06T22:34:35.000Z","dependencies_parsed_at":"2023-06-18T11:54:32.637Z","dependency_job_id":null,"html_url":"https://github.com/emanuelefavero/next-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnext-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnext-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnext-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fnext-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/next-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207509,"owners_count":20740723,"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","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","nextauth","nextjs"],"created_at":"2024-12-10T00:13:47.820Z","updated_at":"2026-04-29T17:39:53.281Z","avatar_url":"https://github.com/emanuelefavero.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextAuth.js\n\nThis is a starter project for Next.js with authentication using [NextAuth.js](https://next-auth.js.org/)\n\n## IMPORTANT\n\nWhen you are deploying your application to production, remember to set `Homepage URL` and `Authorization callback URL` in your GitHub OAuth App settings in Developer Settings on GitHub.\n\n\u003e Do the same for other providers\n\n#### Example\n\n- Homepage URL: `https://yourdomain.com`\n- Authorization callback URL: `https://yourdomain.com/api/auth/callback/github`\n\n#### Screenshot\n\n\u003cimg src=\"screenshot.png\" alt=\"screenshot\" width=\"150\"\u003e\n\n## Getting Started\n\n- clone this repo and `cd` into it\n- run `npm install`\n- Add `.env` file to the root of the project with the following content:\n\n```bash\n# You will find these values in your GitHub OAuth App settings in Developer Settings on GitHub (Client ID and client secret), you will need to create a new OAuth App (remember to set Homepage URL and Authorization callback URL to production URL during production)\nGITHUB_ID=YOUR_GITHUB_ID\nGITHUB_SECRET=YOUR GITHUB SECRET\n\n# ! Your NEXTAUTH_SECRET secret should be at least 32 characters long, not parakeet :)\nNEXTAUTH_SECRET=parakeet\n# ! Your NEXTAUTH_URL should be the URL of your site, change it in production\nNEXTAUTH_URL=http://localhost:3000\n```\n\n\u003e Note: If you are deploying to Vercel, the `NEXTAUTH_URL` env variable is not necessary\n\n### Running the app\n\n```bash\nnpm run dev\n```\n\n- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result\n\n\u003e Note: NextAuth.js has many providers, you can find them [here](https://next-auth.js.org/configuration/providers)\n\n## Providers\n\n- [Email](https://next-auth.js.org/configuration/providers/email)\n- [Credentials](https://next-auth.js.org/configuration/providers/credentials)\n- [GitHub](https://next-auth.js.org/providers/github)\n- [Google](https://next-auth.js.org/providers/google)\n- [Apple](https://next-auth.js.org/providers/apple)\n- [Facebook](https://next-auth.js.org/providers/facebook)\n- [Discord](https://next-auth.js.org/providers/discord)\n- [LinkedIn](https://next-auth.js.org/providers/linkedin)\n- [More...](https://next-auth.js.org/configuration/providers/oauth#built-in-providers)\n\n## Learn More\n\n- [How to set up Providers](https://next-auth.js.org/configuration/providers/oauth#built-in-providers)\n- [NextAuth.js Getting Starter](https://next-auth.js.org/getting-started/example)\n\n## License\n\n- [MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnext-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fnext-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fnext-auth/lists"}