{"id":21029628,"url":"https://github.com/loafoe/caddy-token","last_synced_at":"2026-03-06T11:31:46.756Z","repository":{"id":248296385,"uuid":"828309463","full_name":"loafoe/caddy-token","owner":"loafoe","description":"Caddy plugin for static and ID token authentication","archived":false,"fork":false,"pushed_at":"2025-04-21T05:06:58.000Z","size":366,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T22:40:47.445Z","etag":null,"topics":["api-token-generator","caddy","caddy-plugin","static-token-auth"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loafoe.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}},"created_at":"2024-07-13T18:30:51.000Z","updated_at":"2025-04-08T08:32:55.000Z","dependencies_parsed_at":"2024-10-25T21:00:45.146Z","dependency_job_id":"a7c89f6a-96f5-4f1a-8415-6011eccc1d33","html_url":"https://github.com/loafoe/caddy-token","commit_stats":null,"previous_names":["loafoe/caddy-token"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fcaddy-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fcaddy-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fcaddy-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fcaddy-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loafoe","download_url":"https://codeload.github.com/loafoe/caddy-token/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251315780,"owners_count":21569863,"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":["api-token-generator","caddy","caddy-plugin","static-token-auth"],"created_at":"2024-11-19T12:13:27.126Z","updated_at":"2026-03-06T11:31:46.636Z","avatar_url":"https://github.com/loafoe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caddy-token\n\nCaddy token based authentication. Supports static, signed and and JWT tokens\n\n## Example config\n\n```caddyfile\n{\n    order token first\n}\n\n:3000 {\n    token {\n        jwt {\n            issuer https://dex.issuer.lan\n            group admin\n        }\n    }\n  \n    reverse_proxy https://some.service.internal {\n        header_up Host {http.reverse_proxy.upstream.hostport}\n    }\n}\n\n\n```\n\n## Development\n\nRead [Extending Caddy](https://caddyserver.com/docs/extending-caddy) to get an overview\nof what interfaces you need to implement.\n\n# building\n\nYou first need to build a new caddy executable with this plugin. The easiest way is to do this with xcaddy.\n\nInstall xcaddy:\n\n```shell\ngo install github.com/caddyserver/xcaddy/cmd/xcaddy@latest\n```\n\nAfter xcaddy installation you can build caddy with this plugin by executing:\n\n```shell\nxcaddy build v2.8.4 --with github.com/loafoe/caddy-token\n```\n# usage\n\nTODO\n\n# license\n\nLicense is Apache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fcaddy-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floafoe%2Fcaddy-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fcaddy-token/lists"}