AWS API Gateway Proxy Missing Authentication Token

Danny Le
Feb 25, 2021

--

When you created an HTTP Proxy API to your root API URL on AWS API Gateway and then you execute Test it still working on the Testdashboard, but it doesn’t work if you use Curl or Browser directly,

How to fix this?

{“message”: “Missing Authentication Token”}

This is my way

Step 1: Create the GET method for the root API URL

Step 2: Add the root API URL to the proxy like that:

Step 3: Add new child resource same with your API paths,
example: <your-api-domain>/protected

Step 4: Define other paths with the proxy+ method into your API Gateway

Don’t forget to Enable API Gateway CORS for all the child resources.

Step 5: Enjoin to re-deploy your API.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Danny Le
Danny Le

No responses yet

Write a response