@okta/okta-auth-js
Advanced tools
Comparing version 2.6.3 to 2.7.0
# 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 @@ |
@@ -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
993868
3376