{"id":38021586,"url":"https://github.com/jeffdyke/hydra-headless-ts","last_synced_at":"2026-01-16T19:29:22.657Z","repository":{"id":318770955,"uuid":"1072378136","full_name":"jeffdyke/hydra-headless-ts","owner":"jeffdyke","description":"ExpressJS EffectTS OAuth2 Middleware for MCP Servers","archived":false,"fork":false,"pushed_at":"2025-12-02T15:13:28.000Z","size":1765,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"RC","last_synced_at":"2025-12-03T08:42:06.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ory/hydra-login-consent-node","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffdyke.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"patreon":"_ory","open_collective":"ory"}},"created_at":"2025-10-08T16:28:09.000Z","updated_at":"2025-12-02T01:06:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jeffdyke/hydra-headless-ts","commit_stats":null,"previous_names":["jeffdyke/hydra-login-consent-node","jeffdyke/hydra-headless-ts"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jeffdyke/hydra-headless-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdyke%2Fhydra-headless-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdyke%2Fhydra-headless-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdyke%2Fhydra-headless-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdyke%2Fhydra-headless-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffdyke","download_url":"https://codeload.github.com/jeffdyke/hydra-headless-ts/tar.gz/refs/heads/RC","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdyke%2Fhydra-headless-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-16T19:29:21.861Z","updated_at":"2026-01-16T19:29:22.622Z","avatar_url":"https://github.com/jeffdyke.png","language":"TypeScript","funding_links":["https://patreon.com/_ory","https://opencollective.com/ory"],"categories":["Projects"],"sub_categories":["Ory Hydra"],"readme":"# Overview\n\nThis service implements a **headless OAuth2 login/consent provider** that bridges Ory Hydra (OAuth2 server with DCR) and Google OAuth (identity provider without DCR support).\n\n## TLDR\n\nThis can be used as a connector in an AI Agent like Claude.ai that requires DCR, which Google doesn't support. The code uses Ory Hydra as\na OpenID Connect provider and Google as the OAuth Provider, routing a single client_id to your Google endpoint and keeping all of the client information\nlocal in a PostGres DB, and using Redis for caching and sessions.\n\nThe underlying code originated from https://github.com/ory/hydra-login-consent-node, yet was completely modified to be written in typescript and only\nthe API calls.\n\n### TODO\n\n  Installation/documentation still depends on salt, which is fine if it can be dockerized\n  Assumption that OAuth provider is google needs to be removed\n  Likely More\n\n\nIn words, I could not write myself:\n[Detailed breakdown of this OAuth2 flow](OAUTH2_ARCHITECTURE.md)\n\n## Localhost vs Proxy\n\nThe code is written to run behind a proxy, or directly. It was developed behind HAProxy -\u003e Nginx -\u003e App.\nLocal development does not enable https\n\n## Development Helpers\n\n- [Dev Overview of Repository](./DEVELOPMENT.md)\n- [Linting](./LINTING.md)\n- [Quality Baseline](./QUALITY_BASELINE.mc)\n- [Unit Tests](./README.test.md)\n\n### Running Locally\n\nTo run this locally,\n\nSimply change into the root of the repository:\n\n- Update LocalDev settings, see [local.env](src/env/local.env)\n- Run only watching compile errors `npm run tswatch`\n- Launch the application `npm run build \u0026\u0026 npm run serve:local`\n\n## Installing Docker Environment\n\n- TODO\n\n### Nginx Configuration\n\n[Virtual Host configuration](build/support_files/nginx/hydra.conf), for Nginx.\n\n- A single variable `private_ip` is required to speak to the upstream docker containers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffdyke%2Fhydra-headless-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffdyke%2Fhydra-headless-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffdyke%2Fhydra-headless-ts/lists"}