API Gateway and Auth0 integration - best practices

0

Hello,

I would like to use Auth0 integration with API Gateway and looking for some guidance/best practices on this. What type of materials (doc, code snippets, blog, github link etc) are available? I assume I will need to implement custom authorizer.

AWS
已提问 3 年前1252 查看次数
1 回答
0
已接受的回答

Are you going to use REST APIs or HTTP APIs on API GW? If you are planning to use Lambda authorizers there is compatibility between REST and HTTP APIs. See github link below for Lambda authorizers blueprints: https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints

More information on compatibility between REST APIs and HTTP APIs in the link below: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html

If you are using HTTP APIs they should consider also JWT authorizers. Here is a good blog for Auth0: https://auth0.com/blog/securing-aws-http-apis-with-jwt-authorizers/

Another blog below for custom authorizers and Auth0 https://auth0.com/docs/integrations/aws-api-gateway-custom-authorizers

AWS
审核人员
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则