{"id":22576969,"url":"https://github.com/unitvectory-labs/iapheaders","last_synced_at":"2026-05-03T11:32:15.856Z","repository":{"id":263073436,"uuid":"888731987","full_name":"UnitVectorY-Labs/iapheaders","owner":"UnitVectorY-Labs","description":"Displays GCP Identity-Aware Proxy headers and JWT for inspection.","archived":false,"fork":false,"pushed_at":"2026-04-18T14:01:27.000Z","size":969,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T15:33:13.494Z","etag":null,"topics":["docker","gcp","htmx","iap"],"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/UnitVectorY-Labs.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}},"created_at":"2024-11-14T22:58:18.000Z","updated_at":"2026-04-18T14:01:31.000Z","dependencies_parsed_at":"2024-12-07T14:23:28.021Z","dependency_job_id":"76a64e7e-79e7-43f9-8e4d-86f31dd491ad","html_url":"https://github.com/UnitVectorY-Labs/iapheaders","commit_stats":null,"previous_names":["unitvectory-labs/iapheaders"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/UnitVectorY-Labs/iapheaders","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fiapheaders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fiapheaders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fiapheaders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fiapheaders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnitVectorY-Labs","download_url":"https://codeload.github.com/UnitVectorY-Labs/iapheaders/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitVectorY-Labs%2Fiapheaders/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["docker","gcp","htmx","iap"],"created_at":"2024-12-08T04:10:32.158Z","updated_at":"2026-05-03T11:32:15.844Z","avatar_url":"https://github.com/UnitVectorY-Labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub release](https://img.shields.io/github/release/UnitVectorY-Labs/iapheaders.svg)](https://github.com/UnitVectorY-Labs/iapheaders/releases/latest) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Active](https://img.shields.io/badge/Status-Active-green)](https://guide.unitvectorylabs.com/bestpractices/status/#active) [![Go Report Card](https://goreportcard.com/badge/github.com/UnitVectorY-Labs/iapheaders)](https://goreportcard.com/report/github.com/UnitVectorY-Labs/iapheaders)\n\n# iapheaders\n\nDisplays GCP Identity-Aware Proxy headers and JWT for inspection.\n\n## Overview\n\n`iapheaders` is a web application that allows you to inspect request headers for testing and understanding GCP's [Identity-Aware Proxy](https://cloud.google.com/security/products/iap) (IAP).\n\n### Example for Valid IAP Headers\n\n![Application Interface Valid](./assets/interface_valid.png)\n\n### Example for Missing IAP Headers\n\n![Application Interface Missing](./assets/interface_missing.png)\n\n## Usage\n\nThe latest `iapheaders` Docker image is available for deployment from GitHub Packages at [ghcr.io/unitvectory-labs/iapheaders](https://github.com/UnitVectorY-Labs/iapheaders/pkgs/container/iapheaders).\n\n## Configuration\n\nThe application is configurable through environment variables. Below are the available configurations:\n\n- `HIDE_SIGNATURE`: If enabled, the signature of the JWT from IAP is removed (not displayed); the signature component of the JWT is replaced with `SIGNATURE_REMOVED_BY_IAPHEADERS` (default: false).\n- `PORT`: The port on which the server listens (default: 8080).\n\n## IAP Headers\n\nIAP sets the following headers:\n\n- `x-goog-authenticated-user-email`: Authenticated user's email address.\n- `x-goog-authenticated-user-id`: Unique identifier of the authenticated user.\n- `x-goog-iap-jwt-assertion`: JWT token for user identity verification.\n\n`iapheaders` displays these headers and decodes the JWT token to show its contents. The JWT, signed by Google, can be verified using the public key from [https://www.gstatic.com/iap/verify/public_key-jwk](https://www.gstatic.com/iap/verify/public_key-jwk). `iapheaders` checks the signature and indicates the JWT's validity.\n\n## Limitations\n\n- JWK caching is not implemented, and the public key is fetched from Google's servers for each request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitvectory-labs%2Fiapheaders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funitvectory-labs%2Fiapheaders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitvectory-labs%2Fiapheaders/lists"}