home bucket setup - NLTGit/pagaf GitHub Wiki
The home bucket is analogous to the /home
directory on Linux. There's a single bucket "home bucket" with a subdirectory (prefix) per user. This is not the same bucket that serves the static site.
- Create a bucket
- Set up cors in properties -> permissions -> edit cors configuration
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Go to Auth0 and Amazon setup to configure access control