const response = await fetch(`${this.baseUri}/token`, {
method: 'POST',
mode: 'no-cors',
body: JSON.stringify({
client_id: this.clientId,
client_secret: this.clientSecret,
code,
grant_type: 'authorization_code',
redirect_url: this.redirectUri,
scope: this.scope,
}),
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
});