回答編集履歴

1

URLの記載漏れ

2024/03/23 06:26

投稿

houpuw
houpuw

スコア2

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());