{"id":19006908,"url":"https://github.com/yowainwright/next-auth-learning","last_synced_at":"2026-05-14T18:33:52.954Z","repository":{"id":247853866,"uuid":"821258860","full_name":"yowainwright/next-auth-learning","owner":"yowainwright","description":"This a basic Github org auth demo using nextjs, next-auth, and octokit","archived":false,"fork":false,"pushed_at":"2025-06-12T08:00:47.000Z","size":253,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T20:41:47.143Z","etag":null,"topics":["next-auth","nextjs","octokit"],"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/yowainwright.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-06-28T06:39:40.000Z","updated_at":"2024-07-10T21:03:24.000Z","dependencies_parsed_at":"2024-07-11T01:17:21.263Z","dependency_job_id":"605d9bc9-b181-4360-abdb-ddb27de0d1c4","html_url":"https://github.com/yowainwright/next-auth-learning","commit_stats":null,"previous_names":["yowainwright/next-auth-learning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yowainwright/next-auth-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Fnext-auth-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Fnext-auth-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Fnext-auth-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Fnext-auth-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yowainwright","download_url":"https://codeload.github.com/yowainwright/next-auth-learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yowainwright%2Fnext-auth-learning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33037891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["next-auth","nextjs","octokit"],"created_at":"2024-11-08T18:35:00.975Z","updated_at":"2026-05-14T18:33:52.938Z","avatar_url":"https://github.com/yowainwright.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Auth Learning Using the Github Provider\n\nThis is a Next Auth Learning Project.\n\n---\n\n## Try it out\n\n- Copy `.env.example` as `.env.local` and follow the text instructions.\n- Then, run \\*`n i auto` and `pnpm i \u0026\u0026 pnpm dev`. Open [http://localhost:3000](http://localhost:3000) to see the result.\n\n\u003e [!NOTE]\n\u003e *These commands assume you have `n` (or `nvm`) for node and `pnpm` for package management installed.\u003cbr\u003e\n\u003e _Run `brew install n` and `npm install pnpm -g` if not._\n\n---\n\n## What will I see after setup?\n\nYou will see a basic screen with a login button in your browser. By clicking on the login button, you will be taken to a Github auth page. Once you authenticate with Github, if you're a member of the Github org you specified in your `.env.local` `NEXT_PUBLIC_ORG` value, you will be redirected back to the app home page with your Github username displayed. If you're not a member of the org you specified, you'll be directed to an unauthorized page with the option to sign in appropriately.\n\n- You can test failures, etc by changing the org in `src/app/utils/checkMembership.ts`, or signing in with a non-member account.\n- You can sign out by clicking the \"Sign out\" button and \"Sign in\" again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowainwright%2Fnext-auth-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyowainwright%2Fnext-auth-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyowainwright%2Fnext-auth-learning/lists"}