Summary
After upgrading play-pac4j from 12.0.0-PLAY3.0 to 12.0.1-PLAY3.0 (and higher), responses for pac4j-secured routes reissue cookies on every request:
Session cookie is re-set each time with updated nbf/iat.
CSRF cookie is also re-set each time.
Scope
Affected versions
Environment
Dependencies (excerpt)
Dependencies.scala
"org.pac4j" %% "play-pac4j" % "12.0.0-PLAY3.0",
"org.pac4j" % "pac4j-core" % "6.2.2",
"org.pac4j" % "pac4j-http" % "6.2.2",
"org.pac4j" % "pac4j-saml" % "6.2.2",
"org.pac4j" % "pac4j-jwt" % "6.2.2",
(Reproduces when the play-pac4j line is bumped to 12.0.1-PLAY3.0+.)