- 新しい順
- 投票が多い順
- コメントが多い順
Since direct requests to API Gateway work, the most likely cause (as you pointed out) is that the header used for auth (presumably Authorization
) isn't reaching API Gateway when your request is proxied through CloudFront.
The article linked in your response should indeed be the fix for this problem, provided you're in fact using the Authorization
header.
Since it didn't work, it would be helpful to see what your current distribution configuration is, especially with regards to the policies or legacy cache settings.
We have tried a variety of configurations based on instructions found via searching. All yield the same results. Our current settings are as follows:
We have also tried using legacy cache policy and adding Authorization there. Happy to give more information.
関連するコンテンツ
- 質問済み 6年前
- 質問済み 5年前
- AWS公式更新しました 10ヶ月前
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前