{"id":50665689,"url":"https://github.com/saadjs/nextjs-auth-boilterplate","last_synced_at":"2026-06-08T06:04:55.551Z","repository":{"id":291699537,"uuid":"978481135","full_name":"saadjs/nextjs-auth-boilterplate","owner":"saadjs","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-06T04:00:07.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T05:18:32.170Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saadjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-05-06T03:55:56.000Z","updated_at":"2025-05-06T04:00:11.000Z","dependencies_parsed_at":"2025-05-06T05:28:40.736Z","dependency_job_id":null,"html_url":"https://github.com/saadjs/nextjs-auth-boilterplate","commit_stats":null,"previous_names":["saadjs/nextjs-auth-boilterplate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saadjs/nextjs-auth-boilterplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fnextjs-auth-boilterplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fnextjs-auth-boilterplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fnextjs-auth-boilterplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fnextjs-auth-boilterplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saadjs","download_url":"https://codeload.github.com/saadjs/nextjs-auth-boilterplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saadjs%2Fnextjs-auth-boilterplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":"2026-06-08T06:04:35.736Z","updated_at":"2026-06-08T06:04:55.546Z","avatar_url":"https://github.com/saadjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Auth Boilerplate\n\nThis is an auth boilerplate built with [Next.js](https://nextjs.org/docs) 15+, using [Auth.js](https://authjs.dev/) for authentication and [shadcn/ui](https://ui.shadcn.com/) for UI components.\n\nBuilt-in OAuth providers:\n\n-   Google Sign-in\n-   GitHub Sign-in\n\n## Getting Started\n\n1.  Clone the repo\n2.  Copy `.env.example` to `.env.local` and fill in your environment variables\n3.  Install dependencies:\n\n        pnpm install\n\n4.  Run the dev server:\n\n        pnpm run dev\n\nOpen [http://localhost:3000](http://localhost:3000) in browser to see the result.\n\n### Setting up OAuth Providers\n\n1. **GitHub OAuth**:\n\n    - Go to GitHub Developer Settings\n    - Create a new OAuth App\n    - Set the callback URL to `http://localhost:3000/api/auth/callback/github` (development)\n    - Copy the Client ID and Client Secret\n\n2. **Google OAuth**:\n    - Go to Google Cloud Console\n    - Create a new project or select existing\n    - Enable Google OAuth API\n    - Configure OAuth consent screen\n    - Create credentials (OAuth client ID)\n    - Set the authorized redirect URI to `http://localhost:3000/api/auth/callback/google`\n    - Copy the Client ID and Client Secret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadjs%2Fnextjs-auth-boilterplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaadjs%2Fnextjs-auth-boilterplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaadjs%2Fnextjs-auth-boilterplate/lists"}