arbs-io / vscode-openai

vscode-openai seamlessly incorporates OpenAI features into VSCode, providing integration with SCM, Code Editor and Chat.
https://marketplace.visualstudio.com/items?itemName=AndrewButson.vscode-openai
MIT License
75 stars 18 forks source link

SSO/AD login for Azure Open AI #246

Closed shrijit-narkar closed 2 months ago

shrijit-narkar commented 4 months ago

Currently we are need to pass APIKey to login to Azure Open AI. Can we have functionality to use AD as the login authentication for Azure? The reason is we do not want to provide the ApiKey key to all the developers. But we can provide them permission to Azure Open AI service in Azure Portal.

arbs-io commented 4 months ago

Great suggestion and one that would be useful for enterprises using api gateway. I will add functionality to configure oauth2 rather than api key

arbs-io commented 2 months ago

@shrijit-narkar oauth2 is now enabled for the azure service (v1.6.6).