1

I created an application with jhipster. It is working but when I make a request to backend side I get 401(Unauthorized) error with zone.js. I think my code is working but I think that I have a general error.

I made some researches about zone.js but I could not find any solution. Do you have any idea?

  • 1
    No one can be in an efficient help unless you provide what did you really try. I recommend you to take some time to read [mcve]. – Hakan ERDOGAN Jun 06 '18 at 07:22
  • 1
    You will get a 401 error by default unless you log in and authenticate, the page requests the current user's account information on load and returns 401 if not logged in – Jon Ruddell Jun 06 '18 at 15:22
  • This error has nothing to do with zone.js, just like @JonRuddell said, it is because you are not log in or not authorized. – jiali passion Jun 07 '18 at 16:53
  • thank you very much.I found solution.Solution is to allow all users to reach urls in securityConfiguration.java.I have rearranged this file. –  Jun 11 '18 at 11:32

0 Answers0