Home > Back-end >  Did help who help me to look at the baidu back not solve the problem
Did help who help me to look at the baidu back not solve the problem

Time:10-03

Appeal for help for help for help for help
Himself after a small white front end will only copy going to out for internship so recently wrote recently prepared a project on a resume but ready to put on spring security for this project, there was a problem in the front, the front not passed the back-end need to verify the token, then I went to see the request head does not


The console is an error


At first I thought it was I didn't save token, where a variable name carelessly knocked at the wrong, but the output console can still getToken (), according to the analysis of the a heap of blog on baidu, then configure the next proxyTable


Found or not, and I each controller is a plus:
@ CrossOrigin (origins={} "*", allowCredentials="true") should be cross domain no problem
Or am I securityconfig configuration was wrong? Please bosses see ahhh


In addition, here is the request of the front-end interceptors, have experienced bosses know.
  • Related