{"id":19645831,"url":"https://github.com/approov/aws-api-gateway_approov-proxy-authorizer","last_synced_at":"2026-04-18T01:34:30.831Z","repository":{"id":96185719,"uuid":"208023946","full_name":"approov/aws-api-gateway_approov-proxy-authorizer","owner":"approov","description":"An Approov lambda authorizer in Python for the AWS API Gateway","archived":false,"fork":false,"pushed_at":"2019-09-18T09:54:01.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-06T00:08:31.088Z","etag":null,"topics":["api","api-authentication","api-gateway","api-gateway-custom-authorizer","apis","approov","approov-backend-quicksart","approov-quickstart","approov-token","aws","aws-api","aws-lambda","aws-lambda-python","lambda-authoriser","lambda-authorizer"],"latest_commit_sha":null,"homepage":"https://approov.io","language":"Python","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/approov.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":"2019-09-12T10:22:37.000Z","updated_at":"2022-02-08T16:28:48.000Z","dependencies_parsed_at":"2023-03-23T08:48:36.001Z","dependency_job_id":null,"html_url":"https://github.com/approov/aws-api-gateway_approov-proxy-authorizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/approov/aws-api-gateway_approov-proxy-authorizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/approov%2Faws-api-gateway_approov-proxy-authorizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/approov%2Faws-api-gateway_approov-proxy-authorizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/approov%2Faws-api-gateway_approov-proxy-authorizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/approov%2Faws-api-gateway_approov-proxy-authorizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/approov","download_url":"https://codeload.github.com/approov/aws-api-gateway_approov-proxy-authorizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/approov%2Faws-api-gateway_approov-proxy-authorizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"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":["api","api-authentication","api-gateway","api-gateway-custom-authorizer","apis","approov","approov-backend-quicksart","approov-quickstart","approov-token","aws","aws-api","aws-lambda","aws-lambda-python","lambda-authoriser","lambda-authorizer"],"created_at":"2024-11-11T14:35:31.294Z","updated_at":"2026-04-18T01:34:30.806Z","avatar_url":"https://github.com/approov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Approov Proxy Authorizer for the AWS API Gateway\n\nThese Python code examples are for implementing [Approov](https://approov.io/approov-in-detail.html) as a Proxy\nAuthorizer in the AWS API Gateway, and you can learn how to do it by reading the [Approov AWS Serverless API Proxy](https://info.approov.io/approov-api-proxy-ebook) e-book.\n\n\n## AWS API Gateway Authorizer\n\nThe `ApproovV2/lambda_function.py` will implement a proxy authorizer for Approov tokens in an AWS API Gateway.\n\nThe Approov authorizer will validate the Approov token for being signed correctly, not being expired, and optionally can\nvalidate if the token binding on it matches the token binding value in the header of the request.\n\n### Response Codes\n\n#### If invalid returns:\n\n* 401 - when the Approov token cannot be decoded.\n* 403 - when the Approov token can be decoded but is expired or the token binding doesn't match with the value in the header of the request. Also returns a 403 for when allow policy conditions fail.\n\n#### If valid returns:\n\n* 200 - when the Approov token is valid and policy conditions are met. The body will contain the data for the response to the request.\n\n### Requirements\n\n* Authorizer Runtime: Python 3\n* Python dependencies: PyJWT\n\n\n## Issue Reporting\n\nIf you have found a bug please report them [here](https://github.com/approov/aws-api-gateway_approov-proxy-authorizer/issues/new).\n\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapproov%2Faws-api-gateway_approov-proxy-authorizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapproov%2Faws-api-gateway_approov-proxy-authorizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapproov%2Faws-api-gateway_approov-proxy-authorizer/lists"}