Auth integration with AWS S3

The integration with AWS S3 (https://github.com/auth0-samples/auth0-s3-sample ) is not working. The doc there is pretty vague, no example of how how to setup CORS, neither of all data in config.js like targetClientId var…

Also a working example - as at Backendless Dropbox Clone has a different code to the one on the github. Why, h, why?

Can anybody help? I am trying to implement it - but currently the error is:
ReferenceError: store is not defined

Thanks,
Adam

After a couple of day wrestling with the problem, now I have realized that the issue is really down to Auth0 withdrawing the support (June 2017) for this type of integration with AWS.
The gh link is no longer working https://github.com/auth0-samples/auth0-s3-sample