mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-22 09:29:16 +01:00
fix: oauth2 audience not sent (#10)
This commit is contained in:
committed by
GitHub
parent
d07272003b
commit
79362c81e5
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user