{"id":17308666,"url":"https://github.com/pasdam/playground-gloo-oathkeeper","last_synced_at":"2026-01-28T21:35:14.354Z","repository":{"id":92276975,"uuid":"363542375","full_name":"pasdam/playground-gloo-oathkeeper","owner":"pasdam","description":"K8s playground to test Gloo Edge and Ory Oathkeeper integration","archived":false,"fork":false,"pushed_at":"2024-06-11T03:51:29.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T19:54:47.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pasdam.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":"2021-05-02T01:28:45.000Z","updated_at":"2023-09-10T15:56:44.000Z","dependencies_parsed_at":"2024-12-05T08:08:55.119Z","dependency_job_id":"d637b216-0a7d-4d53-a74b-6696cd3a149f","html_url":"https://github.com/pasdam/playground-gloo-oathkeeper","commit_stats":null,"previous_names":["pasdam/playground-gloo-oathkeeper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pasdam/playground-gloo-oathkeeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fplayground-gloo-oathkeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fplayground-gloo-oathkeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fplayground-gloo-oathkeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fplayground-gloo-oathkeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasdam","download_url":"https://codeload.github.com/pasdam/playground-gloo-oathkeeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasdam%2Fplayground-gloo-oathkeeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28853019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":"2024-10-15T12:05:44.155Z","updated_at":"2026-01-28T21:35:14.338Z","avatar_url":"https://github.com/pasdam.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# playground-gloo-oathkeeper\n\nK8s playground to test Gloo Edge and Ory Oathkeeper integration.\n\n## Requirements\n\n* [k3d](https://k3d.io/).\n\n## Usage\n\nTo spin up the whole system:\n\n```sh\n./start.sh\n```\n\nThis will:\n\n1. create the k8s cluster using k3d;\n2. deploy the backend;\n3. generate JSON Web Key Set (JWKS), if not already present;\n4. deploy Oathkeeper;\n5. deploy Gloo.\n\nAdd kid header\n\nOnce this is done you can generate a JWT using the online editor from\n[jwt.io](https://jwt.io/).\n\nThe JWT header should be like:\n\n```json\n{\n  \"alg\": \"HS256\",\n  \"typ\": \"JWT\",\n  \"kid\": \"\u003ckid\u003e\"\n}\n```\n\nwhere `alg` should be *HS256* (same as the one configured in\n[values.yaml](./oathkeeper/values.yaml)) and `kid` is the one in\n[jwks.json](./oathkeeper/jwks.json).\n\nThe payload data should contain the required claims, in particular for this\ndemo is important to set the `sub` filed, which should contain the subject ID,\nsuch value will be extracted and set in the `X-User-Id` request header.\n\nThe secret to sign/verify the token should be the value in the `k` field in\n[jwks.json](./oathkeeper/jwks.json). Note that such value is base64 encoded, so\nmake sure to select the right option in the online editor.\n\nThen you can perform a request with:\n\n```sh\nJWT=[value copied from the online editor]\ncurl http://localhost:8080/anything/header -H \"Authorization: Bearer $JWT\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasdam%2Fplayground-gloo-oathkeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasdam%2Fplayground-gloo-oathkeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasdam%2Fplayground-gloo-oathkeeper/lists"}