Spring Boot JWT CORS with Angular 6

后端 未结 5 962
伪装坚强ぢ
伪装坚强ぢ 2021-01-02 22:24

I am using JWT in my Spring Boot app. When I try to login from the Angular 6 client, I get the CORS error

Access to XMLHttpRequest at \'http://localhost:8082         


        
5条回答
  •  北荒
    北荒 (楼主)
    2021-01-02 22:47

    I had a similar error and the problem was the name of the packages... Try to rename your packages in this model: groupId.artifactId.security.jwt

提交回复
热议问题