-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Copy link
Labels
Description
Describe the bug
When Tomcat is restarted while a user is logged in, refreshing before the authentication token expires causes the login dropdown/page to not render the authentication methods.
Refreshing again resolves the problem.
This is not a very common occurence from the point of view of a regular user, but we run into this problem very frequently when developing.
To Reproduce
Steps to reproduce the behavior:
- Run a DSpace repository locally
- Log in to the Angular UI
- Restart Tomcat
- Refresh the Angular UI
- You won't see the authentication methods appear in the user menu and login page
- Refresh the Angular UI again
- Now the authentication methods will appear again
Expected behavior
Authentication methods should appear on the first refresh.
Potential solution
Ensure that authentication methods are retrieved even if the authentication token hasn't expired yet
alanorth, saschaszott and alexandrevryghem
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
π In Progress