New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@okta/okta-auth-js

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@okta/okta-auth-js - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

3

lib/browser/browser.js

@@ -85,3 +85,4 @@ /*!

resume: util.bind(tx.resumeTransaction, null, sdk),
exists: util.bind(tx.transactionExists, null, sdk)
exists: util.bind(tx.transactionExists, null, sdk),
introspect: util.bind(tx.introspect, null, sdk)
};

@@ -88,0 +89,0 @@

@@ -13,3 +13,3 @@ module.exports = {

"PKCE_STORAGE_NAME": "okta-pkce-storage",
"SDK_VERSION": "2.7.0"
"SDK_VERSION": "2.8.0"
};

@@ -60,2 +60,24 @@ /*!

function introspect (sdk, args) {
if (!args || !args.stateToken) {
var stateToken = sdk.tx.exists._get(config.STATE_TOKEN_KEY_NAME);
if (stateToken) {
args = {
stateToken: stateToken
};
} else {
return Q.reject(new AuthSdkError('No transaction to evaluate'));
}
}
return transactionStep(sdk, args)
.then(function (res) {
return new AuthTransaction(sdk, res);
});
}
function transactionStep(sdk, args) {
args = addStateToken(sdk, args);
return http.post(sdk, sdk.options.url + '/idp/idx/introspect', args);
}
function transactionExists(sdk) {

@@ -356,3 +378,4 @@ // We have a cookie state token

transactionExists: transactionExists,
postToTransaction: postToTransaction
postToTransaction: postToTransaction,
introspect: introspect,
};
{
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "2.7.0",
"version": "2.8.0",
"homepage": "https://github.com/okta/okta-auth-js",

@@ -83,5 +83,5 @@ "license": "Apache-2.0",

"okta": {
"commitSha": "a4b1de388b54e1e9d16f90ac60ff8989aaac7118",
"fullVersion": "2.7.0-20190820223113-a4b1de3"
"commitSha": "436a0906b947398310275aabe7782dbe8b9e8fd7",
"fullVersion": "2.8.0-20190903220756-436a090"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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