OAuth2.0 on AWS API Gateway



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 Answer

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.


Also this blog might help with step by step instructions.


Hope this helps.

profile pictureAWS
answered a year ago
  • 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!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions