{"id":13541666,"url":"https://github.com/gnur/tobab","last_synced_at":"2026-01-14T14:58:09.669Z","repository":{"id":57623706,"uuid":"292845627","full_name":"gnur/tobab","owner":"gnur","description":"tobab: the poor mans identity aware proxy, easy to use setup for beyondcorp in your homelab","archived":false,"fork":false,"pushed_at":"2024-02-01T13:50:16.000Z","size":5847,"stargazers_count":152,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T09:40:58.412Z","etag":null,"topics":["beyondcorp","hacktoberfest","homelab","identity","identity-aware-proxy","letsencrypt","proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gnur.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-09-04T12:43:38.000Z","updated_at":"2025-01-18T08:20:52.000Z","dependencies_parsed_at":"2024-06-20T01:43:40.160Z","dependency_job_id":"c70e9d7a-af94-4163-b2b3-3d5c40bcc5e9","html_url":"https://github.com/gnur/tobab","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/gnur/tobab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnur%2Ftobab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnur%2Ftobab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnur%2Ftobab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnur%2Ftobab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnur","download_url":"https://codeload.github.com/gnur/tobab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnur%2Ftobab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["beyondcorp","hacktoberfest","homelab","identity","identity-aware-proxy","letsencrypt","proxy"],"created_at":"2024-08-01T10:00:54.080Z","updated_at":"2026-01-14T14:58:09.650Z","avatar_url":"https://github.com/gnur.png","language":"Go","funding_links":[],"categories":["Open Source Software"],"sub_categories":[],"readme":"# tobab\ntobab: an opinionated poor mans identity-aware proxy enabler. Use it as a forward auth target with caddy, nginx or traefik.\n\n\u003cimg src=\"./tobab.png\" width=\"350\" alt=\"tobab gopher logo\"\u003e\n\nIt uses passkeys for simple and robust authentication.\n\n## goals\n\n- Passkey enabled user management\n- Admin with Web UI for access management\n- Easy to use (single docker container with simple config)\n\n## non-goals\n\n- any authn that isn't passkeys\n\n## wishlist (not implemented yet)\n\n- metrics\n- API key support for non-browser session based validation\n- access denied message\n- better error handling with feedback to user\n- better splitting of templates and javascript (not a single script for login and register)\n- testing with Traefik\n- testing with nginx\n- additional storage interface implementations to allow it to be more cloud native\n\n## getting started\n\n- See the `k8s-example` dir for a kustomize setup for tobab and deploy to k8s\n- make sure dns is setup correctly\n- Setup caddy to use this new endpoint for forward auth:\n```\nlogin.example.com {\n  reverse_proxy tobab.tabab.svc\n\n}\nsecure.example.com {\n        forward_auth tobab.tobab.svc {\n                uri /verify\n        }\n        reverse_proxy some_other_host:8080\n}\n```\n- create a new user at `login.example.com/register` (first user created becomes the admin user)\n- visit `secure.example.com` and be authenticated through your passkey\n- login with the new user\n\n\n\n\n# example config file\n\n```toml\nhostname = \"login.example.com\" #hostname where the login occurs\ndisplayname = \"example displayname\" #used for passkey creation\ncookiescope = \"example.com\" #this will allow all subdomains of example.com to have sso with tobab\nloglevel = \"debug\" #or info, warning, error\ndatabasepath = \"./tobab.db\"\n```\n\n\n# acknowledgements\n\nThis project could hot have been what it is today without these great libraries:\n\n - github.com/gin-gonic/gin excellent request router\n - github.com/asdine/storm embedded database built upon bolt which makes persistence very easy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnur%2Ftobab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnur%2Ftobab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnur%2Ftobab/lists"}