OAuth2.0 on AWS API Gateway

0

Hi

We would like to protect our APIs developed on AWS API Gateway with OAuth2.0. I am not able to find enough documentation on this. Does anybody guide me on how to implement OAuth2.0 on AWS API Gateway for authentication and authorization?

1回答
0

You can achieve this by integrating Amazon API Gateway Rest API with Amazon Cognito User Pools. First, set up Cogito User Pools and OAuth 2.0 scopes and then use it as an Authoriser in the Rest API.

https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html

Also this blog might help with step by step instructions.

https://aws.amazon.com/premiumsupport/knowledge-center/cognito-custom-scopes-api-gateway/

Hope this helps.

profile pictureAWS
simon
回答済み 1年前
  • Hi there Kareem - I'd love to know how you got on implementing this and whether the answer met your needs. Please let me know by Accepting the answer or providing additional comments. Thanks!

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

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

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

関連するコンテンツ