Skip to content

Commit e013d96

Browse files
Clarify the behavior of Concurrent Session Management when an IdP is involved
Closes gh-15071
1 parent 0aed8df commit e013d96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/modules/ROOT/pages/reactive/authentication/concurrent-sessions-control.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,12 @@ open fun reactiveSessionRegistry(): ReactiveSessionRegistry {
188188
When the maximum number of sessions is exceeded, by default, the least recently used session(s) will be expired.
189189
If you want to change that behavior, you can <<concurrent-sessions-control-custom-strategy,customize the strategy used when the maximum number of sessions is exceeded>>.
190190

191+
[IMPORTANT]
192+
====
193+
The Concurrent Session Management is not aware if there is another session in some Identity Provider that you might use via xref:reactive/oauth2/login/index.adoc[OAuth 2 Login] for example.
194+
If you also need to invalidate the session against the Identity Provider you must <<concurrent-sessions-control-custom-strategy,include your own implementation of `ServerMaximumSessionsExceededHandler`>>.
195+
====
196+
191197
[[concurrent-sessions-control-custom-strategy]]
192198
== Handling Maximum Number of Sessions Exceeded
193199

0 commit comments

Comments
 (0)