Auth integration with AWS S3

The integration with AWS S3 ( ) 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


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