You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the session expires, the user is logged out from the Kapua console. However, if the user is an external one logged through SSO, he can login again by simply clicking on the 'SSO Login' button, without the need to insert again his credentials. This is due to the SSO session not yet invalidated, while the Kapua Console one already is.
One possible solution would be to simply reduce the time of the SSO session to a lower value than the Kapua Console one. Note that the Kapua Console session time is set though the session-timeout tag in the web.xml in console/web/src/main/webapp/WEB-INF. However, this is not the best option, since there is no synchronisation between the two session. Also, it requires to configure the SSO Provider session timeout at each installation. A better option would be to invalidate the SSO session using the SSO OpenId Connect logout endpoint when the Kapua one is invalidated.
To Reproduce
Steps to reproduce the behavior:
Login to Kapua with an external SSO user (an SSO provider is required)
Wait 30 minutes (the Kapua session timeout), after this amount of time the user should be logged out
Click on the 'SSO Login' button
The user is logged in without the need to insert credentials.
Expected behavior
The SSO session should be invalidated at the same time as the Kapua one.
Screenshots N/A
Version of Kapua
1.2.0-SNAPSHOT
Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[ ] - Others
Additional context N/A
The text was updated successfully, but these errors were encountered:
gbarbon
changed the title
SSO provider session not invalidated with Kapua session invalidation
SSO provider session not invalidated at Kapua session invalidation
May 13, 2020
Describe the bug
When the session expires, the user is logged out from the Kapua console. However, if the user is an external one logged through SSO, he can login again by simply clicking on the 'SSO Login' button, without the need to insert again his credentials. This is due to the SSO session not yet invalidated, while the Kapua Console one already is.
One possible solution would be to simply reduce the time of the SSO session to a lower value than the Kapua Console one. Note that the Kapua Console session time is set though the
session-timeout
tag in theweb.xml
inconsole/web/src/main/webapp/WEB-INF
. However, this is not the best option, since there is no synchronisation between the two session. Also, it requires to configure the SSO Provider session timeout at each installation. A better option would be to invalidate the SSO session using the SSO OpenId Connect logout endpoint when the Kapua one is invalidated.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The SSO session should be invalidated at the same time as the Kapua one.
Screenshots
N/A
Version of Kapua
1.2.0-SNAPSHOT
Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[ ] - Others
Additional context
N/A
The text was updated successfully, but these errors were encountered: