remote_user same between 2 user connections

i have seen that remote_user in nginx do not change between 2 different user connection.

sequence example
1 sign in with "foo"
2 remote is "foo"
3 sign out "foo"
4 sign in "bar"
5 remote_user is "foo"
when deleting firefox cache/cookies/… then sign in bar
remote is bar

thanks to all

It depends on the app session management, the remote_user is actually good. For example Roundcube won’t change its user even if the remote_user changes. You need to sign out from Roundcube to get the expected behaviour (for now).

An enhancement would be to handle logout of every app via SSOwat, but this is definetly not in the near future.