mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-10 06:42:52 +02: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: '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) {
|
if (credentialsInBody) {
|
||||||
httpRequest.body!.form.push({ name: 'client_id', value: clientId });
|
httpRequest.body!.form.push({ name: 'client_id', value: clientId });
|
||||||
|
|||||||
Reference in New Issue
Block a user