回答編集履歴
1
URLの記載漏れ
test
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
以下のサイトを参考にSecurityFilterChainの内容を修正しました。
|
2
|
+
https://www.linkedin.com/pulse/solving-invalid-csrf-token-found-error-spring-security-oyeleye
|
2
3
|
```修正前
|
3
4
|
http.csrf((csrf) -> csrf
|
4
5
|
.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse());
|