fix(Azure OpenAI Chat Model Node): Simplify Azure Entra ID Authentication and Auto-Refresh token (#15335)

This commit is contained in:
oleg
2025-05-13 10:48:51 +02:00
committed by GitHub
parent 4302c5f474
commit e750d5366e
4 changed files with 54 additions and 27 deletions

View File

@@ -29,6 +29,7 @@ export class CredentialsFlow {
const headers: Headers = { ...DEFAULT_HEADERS };
const body: CredentialsFlowBody = {
grant_type: 'client_credentials',
...(options.additionalBodyProperties ?? {}),
};
if (options.scopes !== undefined) {