@workos-inc/node
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"name": "@workos-inc/node", | ||
@@ -4,0 +4,0 @@ "author": "WorkOS", |
@@ -36,10 +36,8 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const { data } = yield this.workos.post('/sso/token', null, { | ||
query: { | ||
client_id: projectID, | ||
client_secret: this.workos.key, | ||
grant_type: 'authorization_code', | ||
code, | ||
}, | ||
}); | ||
const form = new URLSearchParams(); | ||
form.set('client_id', projectID); | ||
form.set('client_secret', this.workos.key); | ||
form.set('grant_type', 'authorization_code'); | ||
form.set('code', code); | ||
const { data } = yield this.workos.post('/sso/token', form); | ||
return data.profile; | ||
@@ -46,0 +44,0 @@ }); |
{ | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"name": "@workos-inc/node", | ||
@@ -4,0 +4,0 @@ "author": "WorkOS", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26292
0
491