Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cognito-secured API returns 401 from custom domain #4

Closed
dpwhittaker opened this issue Jan 3, 2018 · 1 comment
Closed

Cognito-secured API returns 401 from custom domain #4

dpwhittaker opened this issue Jan 3, 2018 · 1 comment

Comments

@dpwhittaker
Copy link

I used this to create a cloudfront distribution for my api, then pointed my custom domain at the cloudfront distribution. I can PostMan to my api gateway url just fine, passing a valid Authorization header, but when I attempt to go through the custom domain, it always returns a 401 error. Any idea what might be going on here? Are there some settings I'm missing to allow the Authorization header through or something?

@Necromos
Copy link
Contributor

Hey!
You need to forward Authorization header actually, please take a look at: #15

Hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants