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 Risposta
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
con risposta 8 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande