{"id":21003893,"url":"https://github.com/birotaio/traefik-plugins","last_synced_at":"2025-04-12T07:18:36.600Z","repository":{"id":193297374,"uuid":"688434035","full_name":"birotaio/traefik-plugins","owner":"birotaio","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-11T11:30:09.000Z","size":54,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T07:18:31.918Z","etag":null,"topics":["traefik-plugin","traefik-plugin-catalog"],"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/birotaio.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":"2023-09-07T10:43:44.000Z","updated_at":"2025-04-11T07:09:01.000Z","dependencies_parsed_at":"2024-11-19T08:31:28.323Z","dependency_job_id":"bee63586-d958-43b5-a2a8-84b6caa9b197","html_url":"https://github.com/birotaio/traefik-plugins","commit_stats":null,"previous_names":["birotaio/traefik-plugins"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birotaio%2Ftraefik-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birotaio%2Ftraefik-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birotaio%2Ftraefik-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birotaio%2Ftraefik-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/birotaio","download_url":"https://codeload.github.com/birotaio/traefik-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530602,"owners_count":21119601,"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":["traefik-plugin","traefik-plugin-catalog"],"created_at":"2024-11-19T08:28:49.241Z","updated_at":"2025-04-12T07:18:36.581Z","avatar_url":"https://github.com/birotaio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWT Field as Header\n\nUse a JWT field as header value to, for example, use it as a rate limiting key.\nThis middleware will add the JWT field as header value to the request or if the jwt is not set/valid it will use different fallback strategies.\n\n## Usage\n\n- Install the plugin\n- Configure it with the following fields\n```yaml\n  debug: \"true\" # Boolean to enable debug mode, prints debug messages to the traefik log\n  jwtHeaderName: Authorization # Name of the header that contains the JWT\n  jwtField: customer_id # Name of the JWT field that will be used as header value\n  valueHeaderName: X-Rate-Limit # Name of the header that will be added to the request\n  fallbacks: # List of fallback strategies\n    - type: header # Type of the fallback strategy, one of: header, ip, pass, error\n      value: x-apikey # For the header strategy, the name of the header that will be used as header value\n      keepIfEmpty: \"true\" # If true uses this fallback strategy even if the header is empty\n    - type: ip # For the ip strategy, the remote address will be used as header value\n    - type: error # For the error strategy, the request will be aborted with a 400 error\n    - type: pass # For the pass strategy, the request will be passed without adding a header\n```\n- Use it as the middleware in one of your routes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirotaio%2Ftraefik-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirotaio%2Ftraefik-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirotaio%2Ftraefik-plugins/lists"}