Search code examples
amazon-web-servicesamazon-cloudfront

Access Denied Signed Cookies AWS


I have been trying aws cloudfront sign package for a while, and i could get signedURL work to my cloudfront which means the cloudfront is setup properly. But there is an issue when i tried to use signed cookies in my cloudfront.

What could be the reasons for not working with signed cookies? And using postman to send cookies to the Cloudfront link for testing purpose.

Before passing the cookie values enter image description here

After passing cookie values

enter image description here

Thank You


Solution

  • I found the answer, in the option parameters, we have to define the expiry time according to the documentation.

    Otherwise the default time will get expired in the library I used.