1

I created a JHipster project and created a mobile app, using ionic generator. I have configured my project to enable cross origin HTTP requests.

Running JHipster in dev mod, i try to make login in ionic app with this POST:

POST http://localhost:8080/api/authentication?cacheBuster=1445250957240 403 (Forbidden) XMLHttpRequest cannot load http://localhost:8080/api/authentication?cacheBuster=1445250957240. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. The response had HTTP status code 403.

What i need to do to solve this problem?

br.julien
  • 3,420
  • 2
  • 23
  • 44
Vítor Nóbrega
  • 1,219
  • 4
  • 26
  • 53

0 Answers0