{"id":16541343,"url":"https://github.com/itzg/try-nextjs-cookie-auth-api","last_synced_at":"2025-10-04T17:03:11.926Z","repository":{"id":43810183,"uuid":"205946843","full_name":"itzg/try-nextjs-cookie-auth-api","owner":"itzg","description":"Very contrived Next.js application to simulate an authentication flow that uses next-cookies to provide server and client side with auth code","archived":false,"fork":false,"pushed_at":"2023-10-08T06:19:43.000Z","size":257,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T08:52:14.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/itzg.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":"2019-09-02T22:40:21.000Z","updated_at":"2022-02-10T21:52:56.000Z","dependencies_parsed_at":"2025-01-14T08:43:29.820Z","dependency_job_id":"7311198b-ad9a-4a8b-b1f4-c81ff06b975b","html_url":"https://github.com/itzg/try-nextjs-cookie-auth-api","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/itzg%2Ftry-nextjs-cookie-auth-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-nextjs-cookie-auth-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-nextjs-cookie-auth-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-nextjs-cookie-auth-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/try-nextjs-cookie-auth-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787488,"owners_count":20020099,"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":[],"created_at":"2024-10-11T18:54:44.365Z","updated_at":"2025-10-04T17:03:06.806Z","avatar_url":"https://github.com/itzg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Very contrived Next.js application to simulate an authentication flow that uses next-cookies to provide server and client side with auth code\n\n## Starting\n\nStart the Next.js app\n```bash\nnpm run dev\n```\n\nStart the contrived authentication server:\n```bash\nnpm run dev-auth\n```\n\nOpen a browser to http://localhost:3000\n\n## Flow\n\nThe following diagram shows the contrived replica of an OAuth2 flow simulated by this application and its companion authentication server:\n\n![](docs/login_flow.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Ftry-nextjs-cookie-auth-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Ftry-nextjs-cookie-auth-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Ftry-nextjs-cookie-auth-api/lists"}