Created
October 5, 2022 23:55
-
-
Save antstanley/ec6e9f3b5b8fca088c1e43bb3ead1648 to your computer and use it in GitHub Desktop.
Example of CORS headers for API Gateway with Authorization and Cookies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Access-Control-Allow-Headers": | |
"Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token, Access-Control-Allow-Origin, Access-Control-Allow-Methods, Access-Control-Allow-Credentials, Cookie, Set-Cookie", | |
"Access-Control-Allow-Origin": "*", | |
"Access-Control-Allow-Methods": "POST, OPTIONS, GET", | |
"Access-Control-Allow-Credentials": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment