@pega/auth
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -403,2 +403,6 @@ // This file wraps various calls related to logging in, logging out, etc. | ||
} | ||
else if (pegaAuthConfig.grantType === 'passwordCreds') { | ||
pegaAuthConfig.userIdentifier = sdkConfigAuth.mashupUserIdentifier; | ||
pegaAuthConfig.password = sdkConfigAuth.mashupPassword; | ||
} | ||
Object.assign(this.#authConfig, pegaAuthConfig); | ||
@@ -405,0 +409,0 @@ // Add an on page hide handler to write out key properties that we want to survive a |
{ | ||
"name": "@pega/auth", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Pega OAuth 2.0 Client Library (supports Infinity and Launchpad).", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -48,3 +48,3 @@ # Pega Auth | ||
| userIdentifier | string | | Pega operator user identifier to use (only relevant for 'authCode' grant type) | | ||
| password | string | | B64 encoded Pega operator password to use (only relevant for 'authCode' grant type) | | ||
| password | string | | B64 encoded Pega operator password to use (only relevant for 'authCode' and 'passwordCreds' grant types) | | ||
| noPKCE | boolean | false | Set to true to disable PKCE (only relevant for 'authCode' grant type) | | ||
@@ -51,0 +51,0 @@ | silentTimeout | integer | 5000 | Milliseconds to wait for response during 'silent authentication' (only relevant for 'authCode' grant type) | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
197890
2187