API Gateway's REST API authentication using App ID, App Secret

0

I have gone through the PetStore example in API Gateway multiple rounds, it's able to perform simple GET/POST to public API. But how can i onboard and achieve the API authentication in AWS where i could easily do it in Postman (as below)? Enter image description here

  • How to maintain AppID, Secret which generated from 3rd party platform
  • Based on the guides, the API is secured in method level using IAM, how to relate them in API Gateway where each external API calls is supported by active token Enter image description here

Thanks for the pointers

Regards, newbie weilies :D

1 réponse
0

Since you are using a third party identity provider (Idp) as authenticator, you can use Lambda Authorizer for access control of your API.

https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html

A Lambda authorizer is useful if you want to implement a custom authorization scheme that uses a bearer token authentication strategy such as OAuth or SAML, or that uses request parameters to determine the caller's identity.
profile picture
HS
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions