Deploy Your Secure Vue.js App to AWS

Alexander Schaffer

don’t know how I finally sorted it out… but the issues I had:
in Okta console: api → trusted origins I had to enter https://<your site="" url="">/ for CORS and redirect
in AWS S3 console once published I had to disable block public access on the Amazon S3 bucket - see also Pyae Sones comment

Alexander Schaffer

don’t know how I finally sorted it out… but the issues I remember:
in Okta console: api → trusted origins I had to enter https://<your site="" url="">/ for CORS and redirect
in AWS S3 console: once published I had to disable block public access on the Amazon S3 bucket - see also Pyae Sones comment
in AWS Cloudfront: I set Default Cache Behavior Settings TTL to zero → otherwise you cannot test immediate changes

Alexander Schaffer

did not help in my case - but I got some valuable additional insights

Dave Rugh

How did you handle the implicit callback part of the route through CF, was that through a redirect rule?

Elinaldo Monteiro

Thanks very much, this article helped me a lot =)