fix: oauth2 audience not sent (#10)

This commit is contained in:
James Cleverley-Prance authored and GitHub committed 2025-05-29 07:06:24 -07:00
1 parent d07272003b
commit 79362c81e5
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ export async function getAccessToken(
};
if (scope) httpRequest.body!.form.push({ name: 'scope', value: scope });
if (scope) httpRequest.body!.form.push({ name: 'audience', value: audience });
if (audience) httpRequest.body!.form.push({ name: 'audience', value: audience });
if (credentialsInBody) {
httpRequest.body!.form.push({ name: 'client_id', value: clientId });