{"id":23653063,"url":"https://github.com/quochuydev/next-multiple-oidc-sessions","last_synced_at":"2026-01-28T08:09:09.474Z","repository":{"id":252397087,"uuid":"840304347","full_name":"quochuydev/next-multiple-oidc-sessions","owner":"quochuydev","description":"Based on next-auth concept, the Auth application for managing multiple OIDC sessions.","archived":false,"fork":false,"pushed_at":"2024-09-05T10:41:10.000Z","size":727,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T17:41:41.580Z","etag":null,"topics":["authentication","nextjs","oidc","session-management","sso","zitadel"],"latest_commit_sha":null,"homepage":"https://quochuydev.github.io/next-multiple-oidc-sessions/","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/quochuydev.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}},"created_at":"2024-08-09T12:07:26.000Z","updated_at":"2024-10-05T17:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"60b71453-edea-4d01-b3fe-2198db316ef2","html_url":"https://github.com/quochuydev/next-multiple-oidc-sessions","commit_stats":null,"previous_names":["quochuydev/next-auth-multiple-sessions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fnext-multiple-oidc-sessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fnext-multiple-oidc-sessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fnext-multiple-oidc-sessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochuydev%2Fnext-multiple-oidc-sessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quochuydev","download_url":"https://codeload.github.com/quochuydev/next-multiple-oidc-sessions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239614976,"owners_count":19668824,"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","nextjs","oidc","session-management","sso","zitadel"],"created_at":"2024-12-28T17:40:35.065Z","updated_at":"2026-01-28T08:09:04.452Z","avatar_url":"https://github.com/quochuydev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiple OIDC sessions\n\nBased on next-auth concept, the Auth application for managing multiple OIDC sessions.\n\n## Flows\n\n### Authentication\n\n![authentication.png](docs/authentication.drawio.png)\n\n### Authorization\n\n![authorization.png](docs/authorization.drawio.png)\n\n### End session\n\n![end_session.png](docs/end_session.drawio.png)\n\n## Commands\n\n### Pre-Dev 🙌\n\n#### Install [Task](https://taskfile.dev/#/installation)\n\n```sh\nbrew install go-task/tap/go-task\n```\n\n#### Get all tasks\n\n```sh\ntask\n```\n\n#### Install packages\n\n```sh\nyarn install\n```\n\n#### Add hosts to `/etc/hosts`\n\n```sh\necho \"127.0.0.1 app.example.local auth.example.local\" | sudo tee -a /etc/hosts \u003e /dev/null\n```\n\n#### Generate New SSL certificates (Optional)\n\n```sh\ncd nginx\n\n./openssl.sh\n```\n\n#### Trust the certificates (MacOS)\n\n```sh\ncd nginx\n\nsudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain localhost.crt\n```\n\n#### Start containers 🚀\n\n```\ntask up\n```\n\n### Dev 👉\n\n```\ntask dev\n```\n\n## Deploy\n\n### Setup AWS EC2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fnext-multiple-oidc-sessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquochuydev%2Fnext-multiple-oidc-sessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochuydev%2Fnext-multiple-oidc-sessions/lists"}