Skip to content

Conversation

@longshuicy
Copy link
Member

The root cause is the updated cookie is not pulled correctly. I tried so many different things (hook, redux/reducer, etc) but none works except using time interval to periodically pull the cookie.

I also revived the topbar embedded search with same mechanism.

To test:

  1. Sit on any of the non-search page for > 5 min and then try search on the top bar see if there is result prompted
  2. Sit on any of the non-search page for > 5 min and then go to search page see if the facet got populated correctly
  3. Sit on the search page for > 5 min and search

@longshuicy longshuicy linked an issue Aug 29, 2023 that may be closed by this pull request
Copy link
Member

@lmarini lmarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@longshuicy this PR looks like it's working fine. The only thing is that every minute you sit on the search page it auto refreshes. I am assuming because the token is being refreshed. Let's merge it and make a new issue to see if we can fix it later on or until we rebuild the search interface from scratch?

@max-zilla max-zilla merged commit ebdcdf8 into main Sep 5, 2023
@max-zilla max-zilla deleted the 660-authentication-timeout-on-search-page branch September 5, 2023 14:52
@max-zilla
Copy link
Contributor

issue: #694

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authentication timeout on search page

4 participants