Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@workos-inc/node

Package Overview
Dependencies
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workos-inc/node - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

dist/package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc