fix(app-server): require auth for non-loopback binds#3332
Conversation
Signed-off-by: cyq <15000851237@163.com>
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
There was a problem hiding this comment.
Code Review
This pull request introduces a security check in resolve_auth_token that prevents the application server from binding to a non-loopback address unless an explicit authentication token is configured. It also adds a corresponding unit test to verify that attempting to bind to a non-loopback address without an explicit token fails as expected. There are no review comments, so no additional feedback is provided.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Fixes #3258
Summary
Verification