feat(opencode): added in oauth connection for azure provider through MS Entra ID and az cli#31351
feat(opencode): added in oauth connection for azure provider through MS Entra ID and az cli#31351OpeOginni wants to merge 22 commits into
Conversation
|
Can someone check this and try to include in the next realeases? A lot of people are blocked with the new GitHub Copilot pricing policy and would like to use Azure OpenAI and have security policy constraints on using API keys. |
|
/review |
|
/review |
|
Reviewed the current head and found no remaining actionable correctness issues. The earlier Azure Cognitive Services endpoint substitution problem is fixed by the new |
|
What's the blocking point to merge this? The Windows test does not seem related to this feature |
|
Still no news to merge this useful feature? Some people can't use KeyID from Azure and are stuck. Claude cli has this feature now |
Team is a bit focused on V2, but I will give it a push to them a bit later. |
Issue for this PR
Closes #31342
Closes #21658
Type of change
What does this PR do?
This PR adds another login method for the Azure and Azure Cognitive Services providers.
This would be an alternative for teams that don't have access to API keys for the deployed resources.
az cliand Bun Spawn to get the access keys to be used, tried the@azure/identitypackage, but would make Bun and the TUI to crash.azcommand can be called,a nd returns error message if not found on the user's machine.How did you verify your code works?
Tested locally but logging in fresh to the azure provider using the Oauth method, after completely logging in on the
az cliScreenshots / recordings
Screen.Recording.2026-06-08.at.12.58.05.mov
Checklist