[KEYCLOAK-4] Implement "back to login" on the "failed to logout" screen Created: 01/Jan/24  Updated: 07/Feb/24

Status: In Progress
Project: folio-keycloak
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Craig McNally Assignee: Ryan Berger
Resolution: Unresolved Votes: 0
Labels: epam-eureka, eureka-phase4, front-end, need-review
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File KEYCLOAK-4_evrk.mp4     File KEYCLOAK-4_poc.mp4    
Issue links:
Defines
defines UXPROD-4605 Component Ownership In Progress
Relates
relates to FAT-11732 Review of C436878 test case Open
relates to FAT-11733 Review of C436877 test case Open
Sprint: Eureka Sprint 45
Story Points: 2
Development Team: Eureka

 Description   

If you try to logout but your session is already ended you wind up on a screen which states that logout failed (see screenshot below).  From here, there's no way to get back to either the login screen. Scope:Add a simple hyperlink allowing the user to navigate back to the login screen.



 Comments   
Comment by Natalia Zaitseva [ 01/Jan/24 ]

The user is able to navigate back to the login screen from the ""failed to logout"" page.A demonstration is given to the team using the ""evrk"" environment

Comment by Natalia Zaitseva [ 01/Jan/24 ]

Steps to get to the ""failed to logout"" screenlogin - you'll see foliologout via menu in top right corner. - you will see a logout confirmation pageclick the logout button - you'll be taken to the tenant selection screen (consortia) or login screen (non-consortia)hit the back button - you should be back at the logout confirmation pageclick the logout button - you should arrive at the ""We are sorry..."" / failed logout page.

Comment by Yauhen Viazau [ 12/Jan/24 ]

Reproducible on Demo env as per description. 

Note that there is a ticket for similar issue - MODLOGINKC-7 Open (but only for Consortial Member tenant and without token expiration)

Comment by Yauhen Viazau [ 06/Feb/24 ]

Tested on “evrk“ and PoC environments - issue is still reproducible

Steps to reproduce (as per comment by Natalia):

  1. Open “evrk“ URL in a browser
  2. Select a tenant from a dropdown (e.g., "diku") → Click on "Continue" button
  3. Input valid user username/password → Click on "Log in" button
  4. Click on user profile section at the right side of top navigation bar → Select "Log out" option
  5. Click on "Logout" button (on logout confirmation screen)
  6. Click on browser "Back" button to navigate back to previous screen
  7. Click on "Logout" button (on logout confirmation screen)

Result: Logout failure screen with “We are sorry…“ message. No link or other controls for a user to get back to tenant selection screen

The same result is for the PoC environment (except there is no tenant selection screen, so a user would need to go back to login screen instead)

See screencasts with examples:

Ryan Berger - please review

Generated at Thu Feb 08 22:32:25 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.