
Security
Fix Spring Security 403 Forbidden on POST Requests
Fix a 403 Forbidden on POST, PUT and DELETE in Spring Security by sending the CSRF token, configuring it for APIs or checking roles and CORS preflight.
7 min read
Tag
2 posts

Fix a 403 Forbidden on POST, PUT and DELETE in Spring Security by sending the CSRF token, configuring it for APIs or checking roles and CORS preflight.

Fix a 401 Unauthorized from Spring Security by checking credentials, the Authorization header format, token validation settings and filter order.