Describe the feature or problem you'd like to solve
In corp context, key based auth is disabled per compliance requirements. BearedToken based auth or customized broker would be helpful to automate the CLI runs.
Proposed solution
Similar as what have been offered in GitHub Copilot SDK.
https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/byok#providerconfig-fields
| field |
type |
description |
| bearerToken / bearer_token |
string |
Bearer token auth (takes precedence over apiKey) |
| bearerTokenProvider / bearer_token_provider |
callback |
Returns a bearer token on demand (takes precedence over apiKey and bearerToken) |
Example prompts or workflows
No response
Additional context
No response
Describe the feature or problem you'd like to solve
In corp context, key based auth is disabled per compliance requirements. BearedToken based auth or customized broker would be helpful to automate the CLI runs.
Proposed solution
Similar as what have been offered in GitHub Copilot SDK.
https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/byok#providerconfig-fields
Example prompts or workflows
No response
Additional context
No response