AWS API Gateway with external authentication

Santiago Martí Olbrich

I've built a backend which distributed on several EC2 instances (microservice architecture) and I'm using AWS API Gateway to channel all the requests through a single endpoint. I also built a token-based request authentication system, which requires that every request validates a token on the Auth Service before it is completed.

Is there anyway to tell API Gateway to do the verification by calling the Auth Service itself, rather than having to implement it myself on every endpoint of the backend?

jackko

Api Gateway team here.

Thanks for your feedback. We have this item on our roadmap and we'll definitely work on addressing it. For now, you'll have to implement it outside Api Gateway.

EDIT 2/17

We've now launched custom authorizers, a new feature that adds a Lambda-based auth layer on your API Gateway RestApi.

Blog post - https://aws.amazon.com/blogs/compute/introducing-custom-authorizers-in-amazon-api-gateway/ Docs - http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

AWS Gateway API authentication with users stored in DynamoDB

From Dev

How to implement custom authentication (logic) with AWS api gateway and web api

From Dev

Zuul - Api Gateway Authentication

From Dev

Authentication with an Existing External API

From Dev

Authentication with an Existing External API

From Dev

aws-serverless-express via AWS API gateway asking for authentication even not setup for that

From Dev

AWS API Gateway ARN

From Dev

AWS Api Gateway:

From Dev

AWS API Gateway Signature

From Dev

AWS API Gateway with AWS WAF

From Dev

AWS API Gateway authentication error IncompleteSignatureException using JWT with Auth0

From Dev

AWS API Gateway authentication error IncompleteSignatureException using JWT with Auth0

From Dev

API Versioning with AWS API Gateway

From Dev

Move resource in AWS API gateway

From Dev

Client certificates with AWS API Gateway

From Dev

AWS API Gateway unreliability in refresh

From Dev

AWS API gateway and LAMBDA Function

From Dev

AWS API Gateway Override for this method

From Dev

return payload for a API Gateway AWS

From Java

Missing Authentication Token while accessing API Gateway?

From Dev

API Gateway authentication with Cognito Federated Identities

From Dev

Exporting api definition from AWS API Gateway

From Dev

How to rename an AWS API Gateway API instance?

From Dev

How to - AWS Rest API Authentication

From Dev

Integrating AWS Cognito with API for authentication

From Dev

How to - AWS Rest API Authentication

From Dev

External authentication providers and authenticating requests to RESTful API

From Dev

How can I see AWS Gateway logs for external calls?

From Dev

Sign API Gateway Request With AWS SDK

Related Related

HotTag

Archive