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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ