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.6.3 to 2.7.0

4

CHANGELOG.md
# Changelog
## 2.7.0
### Features
- [(#238)](https://github.com/okta/okta-auth-js/pull/238) - Adds pass-thru of optional 'loginHint' and 'idpScopes' params (resolves [issue #214](https://github.com/okta/okta-auth-js/issues/214))
## 2.6.3

@@ -4,0 +8,0 @@

2

lib/config.js

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

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

@@ -274,19 +274,23 @@ /*!

'client_id': oauthParams.clientId,
'code_challenge': oauthParams.codeChallenge,
'code_challenge_method': oauthParams.codeChallengeMethod,
'display': oauthParams.display,
'idp': oauthParams.idp,
'idp_scope': oauthParams.idpScope,
'login_hint': oauthParams.loginHint,
'max_age': oauthParams.maxAge,
'nonce': oauthParams.nonce,
'prompt': oauthParams.prompt,
'redirect_uri': oauthParams.redirectUri,
'response_mode': oauthParams.responseMode,
'response_type': oauthParams.responseType,
'response_mode': oauthParams.responseMode,
'sessionToken': oauthParams.sessionToken,
'state': oauthParams.state,
'nonce': oauthParams.nonce,
'prompt': oauthParams.prompt,
'display': oauthParams.display,
'sessionToken': oauthParams.sessionToken,
'idp': oauthParams.idp,
'max_age': oauthParams.maxAge,
'code_challenge': oauthParams.codeChallenge,
'code_challenge_method': oauthParams.codeChallengeMethod
});
if (Array.isArray(oauthQueryParams['response_type'])) {
oauthQueryParams['response_type'] = oauthQueryParams['response_type'].join(' ');
}
['idp_scope', 'response_type'].forEach( function( mayBeArray ) {
if (Array.isArray(oauthQueryParams[mayBeArray])) {
oauthQueryParams[mayBeArray] = oauthQueryParams[mayBeArray].join(' ');
}
});

@@ -293,0 +297,0 @@ if (oauthParams.responseType.indexOf('id_token') !== -1 &&

{
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "2.6.3",
"version": "2.7.0",
"homepage": "https://github.com/okta/okta-auth-js",

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

"okta": {
"commitSha": "9e5b3a0a6b99de4dd87e12e102fcafdae6e80c9a",
"fullVersion": "2.6.3-20190808234314-9e5b3a0"
"commitSha": "a4b1de388b54e1e9d16f90ac60ff8989aaac7118",
"fullVersion": "2.7.0-20190820223113-a4b1de3"
}
}

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