title: Is it possible to add same-site attribute to Spring Security CSRF's .csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
body: <p>My security configuration has a following line:</p>
  
  <pre><code>...csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())...
  </code></pre>
  
  <p>Which sends a csrf cookie with every request back to client. This cookie has no same-site attribute set. Is it possible to add the same-site attribute as well? I looked around some methods inside that class and there is nothing about extra attributes to my knowledge.</p>
  
  <p>How can this be done?</p>