Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI token authentication fails in AzureUSGovernment cloud #6255

Open
ebclark2 opened this issue May 14, 2024 · 2 comments
Open

OpenAI token authentication fails in AzureUSGovernment cloud #6255

ebclark2 opened this issue May 14, 2024 · 2 comments

Comments

@ebclark2
Copy link

Describe the bug
OpenAI token authentication fails in AzureUSGovernment cloud with invalid token/audience error.

To Reproduce
In AzureUSGovernment configure OpenAI Auth type to "AzureIdentity" and provide a valid idenitty.

Expected behavior
OpenAI calls authenticate successfully.

Screenshots
image

Platform

  • OS: All
  • IDE: [e.g. Visual Studio, VS Code]
  • Language: [e.g. C#, Python]
  • Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository]

Additional context
See OpenAIClient Issue

@markwallace-microsoft
Copy link
Member

@ebclark2 Thanks for creating the issue. Does this scenario work if you use the Azure OpenAI SDK directly?

@ebclark2
Copy link
Author

ebclark2 commented May 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants