I have a java play framework 2.4.x web app providing a JSON/HTTP API. When I run my front-end HTML/JS file:///Users/nize/tmp/index.html calling the API on
file:///Users/nize/tmp/index.html
I was experiencing a similar issue, I was getting 403's on requests. I solved a the problem by removing the:
allowedHttpHeaders=["Accept"]
that they use in their example configuration. I'm still not clear what the security implications of that are, however, so YMMV.