Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 Responses from the Codestory provider should be relayed to IDE #1940

Open
g-danna opened this issue Feb 4, 2025 · 2 comments
Open

401 Responses from the Codestory provider should be relayed to IDE #1940

g-danna opened this issue Feb 4, 2025 · 2 comments

Comments

@g-danna
Copy link
Contributor

g-danna commented Feb 4, 2025

Bug description
The Codestory provider, Anton, now makes a check for the validity of the access token. If it's not valid, it returns a 401. This response should be relayed by the web server to IDE, but it isn't.

To Reproduce

  1. Use an expired auth token when making requests to sidecar
  2. Look at the agent output. It should relay the 401 to the consumer (IDE), but instead it marks the session as finished.

Expected behavior
The web server should return a 401 as the response to the POST requests made to it, if Anton returns a 401 when checking the access token validity.

@theskcd
Copy link
Contributor

theskcd commented Feb 4, 2025

ACK, on it!

@g-danna
Copy link
Contributor Author

g-danna commented Feb 4, 2025

Pretty dang cool

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

No branches or pull requests

2 participants