Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STCOR-930 correctly dispatch rtrFlsWarningTimeout (#1579)
`setRtrFlsWarningTimeout()` now sends `rtrFlsWarningTimeout` rather than `rtrFlsTimeout`. This bug was introduced in PR #1511 (onto `keycloak-quesnelia`), which looks like a bad copy-pasta from PR #1510 (onto `keycloak-ramsons`). When RTR is correctly configured such that sessions end at a fixed (static) datestamp, this change will have no effect: the original timer will not be canceled when the tokens rotate, but it won't matter because the end-point isn't moving, meaning the original timer will remain accurate. When RTR is incorrectly configured, however, and a session's end-point is extended on rotation as in a sliding window, this change resolves a bug that would cause the session-timeout banner to display a "Time remaining: 00:00" message without actually ending the session. This occurred because the original timer would not be canceled when the tokens rotated even though a new, later end-point had been established. Refs STCOR-930
- Loading branch information