-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Describe the bug
When using this plugin with a configured third-party API key and custom API endpoint, authentication works correctly in a local environment. However, when running the same configuration on a server, the plugin repeatedly prompts me to log in.
To Reproduce
Steps to reproduce the behavior:
1. Configure the plugin with a third-party API key and custom API base URL.
2. Run the plugin locally — it works as expected.
3. Deploy the same configuration to a server environment.
4. Launch VS Code on the server (e.g. via SSH / remote).
5. The plugin keeps asking me to log in.
6. Meanwhile, using Claude directly in the terminal on the same server works without any authentication issues.
Expected behavior
The plugin should authenticate successfully on the server using the configured third-party API key and endpoint, without repeatedly requesting login, just as it does in the local environment.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code (please complete the following information):
- OS: [macOS26]
- VS Code Version [1.107.0]
Additional context
Additional context
• The same API key and API endpoint work correctly:
• In the local environment
• When using Claude directly from the terminal on the server
• The issue only occurs when using the plugin in the server environment.
• This might be related to environment variables, credential storage, or how the plugin handles authentication in remote/server setups.