DEV Community

Discussion on: How to Preserve SPA route path in the browser using AWS CloudFront

Collapse
 
adham_benhawy profile image
Adham El Banhawy AWS Community Builders

Hi Roshan. That's interesting, I tried to change my S3 bucket policy to give CloudFront S3:ListBucket access as well as S3:GetObject (also tried just S3:ListBucket on its own). I was still greeted with 403 error afterwards. Maybe you had a different setup or S3 access pattern.