All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
33.44k stars 3.83k forks source link

[Bug]: Too many calls to /authenticate #4701

Open rbren opened 2 hours ago

rbren commented 2 hours ago

Is there an existing issue for the same bug?

Describe the bug and reproduction steps

We need to make an initial call to /authenticate to check if the user is logged in when the page loads. However, we are currently calling /authenticate repeatedly throughout a user's session. We should stop this so it's only called once

The fix should be in ./frontend/src

OpenHands Installation

Docker command in README

OpenHands Version

main

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

github-actions[bot] commented 2 hours ago

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] commented 2 hours ago

A potential fix has been generated and a draft PR #4702 has been created. Please review the changes.