spring security 403 error

前端 未结 4 1563
清歌不尽
清歌不尽 2020-12-07 22:38

I\'m trying to secure my website using Spring security following the guides on the web. So on my server side the WebSecurityConfigurerAdapter and controller looks like this<

4条回答
  •  清歌不尽
    2020-12-07 23:14

    Check your token which you are sending through 'Header' and also query in your database for the same token whether that token exist or not.

    Note : The above is applicable only in case you are using Spring Boot token authentication mechanism.

提交回复
热议问题