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.

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인