The documentation for deploying and hosting advanced customizations has a “Configure CORS for Auth0” step with a snippet of JSON but doesn’t provide any context as to where those settings are supposed to be applied. Where does that JSON go?
Welcome back to the Auth0 Community!
Thank you for posting your question. I’m not an expert on this matter but done a bit of research and the proposed JSON configuration in these Docs does not go into the Auth0 dashboard but It is an example CORS policy you must attach to the storage bucket / CDN origin where you are hosting your ACUL bundle (the index.js
, index.css
, fonts, images, etc.). This specific JSON refers most likely to the S3 configuration, but what’s important here are the values, so depending on your provider, the configuration may look different. Here’s a link to the S3 configuration → Elements of a CORS configuration - Amazon Simple Storage Service
Thanks!
Dawid