Skip to content

UI doesn't allow login if sessionkey and JSESSIONID cookies are deleted  #4136

@andrijapanicsb

Description

@andrijapanicsb
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI (old UI, not Primate)
CLOUDSTACK VERSION
4.14+ (probably present on all older versions as well)

To consistently reproduce this, this is what I did:

  • Login into UI, then open devtools->Application-> cookies
  • Delete the sessionkey and JSESSIONID cookies (to simulate session expiry, in browser but not on mgmt server)
  • Refresh UI and try to log in, you won't be able to login
  • You've to wait until the previous session expires, or clear cache

The solution is for legacy UI to call the logout API when 401/unauthorised happens (logout will expire session on backend mgmt server) and clear cookies.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions