cloudogu / sonar-cas-plugin

CAS Authentication support for SonarQube
14 stars 8 forks source link

Logout leads to different webpages #13

Closed ppxl closed 5 years ago

ppxl commented 5 years ago

Logout sometimes leads to weird behavior within the CES: Sometimes one is stuck in https://192.168.1.2/cas/logout and another time it is https://192.168.1.2/cas/login?service=https://192.168.56.2/sonar/sessions/init/cas

where 192.168.1.2 is the host of the CES.

ppxl commented 5 years ago

Some part plays the way how the e2e tests are conducted during logout. The javascript needs to have some time to attach to the logout link. If the test is so fast, (and it is) and it catches the link without customized click event, then no proper logout is achieved.