1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 你是否计划在API Gateway中使用REST APIs或HTTP APIs?如果你打算使用Lambda授权程序,那么REST APIs和HTTP APIs是兼容的。你可以点击以下GitHub链接获取Lambda授权程序的蓝图: https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints
你可以通过以下链接了解更多关于REST APIs和HTTP APIs之间兼容性的信息: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
如果你使用HTTP APIs,你也可以考虑使用JWT授权程序。以下是一个关于Auth0的很好的博客文章: https://auth0.com/blog/securing-aws-http-apis-with-jwt-authorizers/
另外,下面的博客文章提供了有关自定义授权程序和Auth0的更多信息: https://auth0.com/docs/integrations/aws-api-gateway-custom-authorizers
Relevant content
- Accepted Answerasked 2 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago