We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2d082c commit fa2126fCopy full SHA for fa2126f
README.md
@@ -315,14 +315,16 @@ Axios should work with the following spring config out of the box with csrf:
315
SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
316
http
317
.httpBasic(org.springframework.security.config.Customizer.withDefaults())
318
- .csrf(c ->
+ .csrf(c ->
319
c.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
320
.csrfTokenRequestHandler(new CsrfTokenRequestAttributeHandler())
321
);
322
return http.build();
323
}
324
```
325
326
+more informations: https://docs.spring.io/spring-security/reference/servlet/exploits/csrf.html
327
+
328
# Alternatives
329
330
- quartz
0 commit comments