{"id":20239090,"url":"https://github.com/kevinmichaelchen/go-hasura-authentication-webhook","last_synced_at":"2026-07-14T18:31:29.732Z","repository":{"id":99754906,"uuid":"585643396","full_name":"kevinmichaelchen/go-hasura-authentication-webhook","owner":"kevinmichaelchen","description":"Simple Hasura webhook auth server with time.Sleep to test HTTP caching","archived":false,"fork":false,"pushed_at":"2023-01-05T20:31:38.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T05:59:03.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinmichaelchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-05T17:41:33.000Z","updated_at":"2023-01-05T20:31:42.000Z","dependencies_parsed_at":"2023-07-31T21:16:08.287Z","dependency_job_id":null,"html_url":"https://github.com/kevinmichaelchen/go-hasura-authentication-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinmichaelchen/go-hasura-authentication-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fgo-hasura-authentication-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fgo-hasura-authentication-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fgo-hasura-authentication-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fgo-hasura-authentication-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinmichaelchen","download_url":"https://codeload.github.com/kevinmichaelchen/go-hasura-authentication-webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fgo-hasura-authentication-webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35474800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-14T08:37:17.107Z","updated_at":"2026-07-14T18:31:29.712Z","avatar_url":"https://github.com/kevinmichaelchen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Caching HTTP responses\n\nThe [`Cache-Control`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control)\nHTTP header field holds directives (instructions) — in both requests and\nresponses — that control caching in browsers and shared caches (e.g. Proxies,\nCDNs).\n\nIf we send back the header\n```\nCache-Control: max-age=604800\n```\nwe're instructing the HTTP client to cache for 604800 seconds (7 days).\n\n## Does Hasura cache responses for webhook authentication?\n\nIn Hasura, you can defer auth decisions to an external endpoint (i.e., a \nwebhook).\n\nhttps://hasura.io/docs/latest/auth/authentication/webhook/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Fgo-hasura-authentication-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinmichaelchen%2Fgo-hasura-authentication-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Fgo-hasura-authentication-webhook/lists"}