Description of problem: Session expiration raises an exception in the logs ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-15) [] OAuthException invalid_scope: The requested scope '[ovirt-ext=revoke:revoke-all]' is invalid, unknown, malformed, or exceeds the scope granted by the resource owner. Version-Release number of selected component (if applicable): 4.0 How reproducible: Steps to Reproduce: 1. Login to webadmin 2. Wait for session expiration Actual results: invalid_scope exception in logs Expected results: no exception in logs Additional info: On session expiration SessionDataContainer should not invoke revoke-all for the token. If there are no other sessions for the token SSO will cleanup the session on revoke.
Verified with: rhevm-4.0.5-0.1.el7ev.noarch only logs found: 2016-10-13 10:10:12,109 INFO [org.ovirt.engine.core.sso.servlets.OAuthRevokeServlet] (default task-57) [] User admin@internal successfully logged out 2016-10-13 10:10:12,157 INFO [org.ovirt.engine.core.bll.aaa.TerminateSessionsForTokenCommand] (default task-59) [13582321] Running command: TerminateSessionsForTokenCommand internal: true.