Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: do not share token with http app urls #17720

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

Merged
merged 2 commits into from
May 8, 2025
Merged

fix: do not share token with http app urls #17720

merged 2 commits into from
May 8, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

It's a security issue to share the API token, and the protocols that we actually want to share it with are not HTTP and handled locally on the same machine.

Security issue introduced by #17708

@BrunoQuaresma BrunoQuaresma requested a review from spikecurtis May 8, 2025 12:39
@BrunoQuaresma BrunoQuaresma self-assigned this May 8, 2025
@BrunoQuaresma BrunoQuaresma added the hotfix PRs only. Harmless small change. Only humans may set this. label May 8, 2025
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main or release branch
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@BrunoQuaresma
Copy link
Collaborator Author

Going to add a test for this during the apps refactoring which is my next item on the list.

@BrunoQuaresma BrunoQuaresma merged commit 857587b into main May 8, 2025
34 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-token branch May 8, 2025 12:51
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hotfix PRs only. Harmless small change. Only humans may set this.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant