react-oauth2-code-pkce
Advanced tools
Comparing version 1.10.3 to 1.10.4
@@ -173,3 +173,2 @@ "use strict"; | ||
handleTokenResponse(tokens); | ||
window.history.replaceState(null, '', window.location.pathname); // Clear ugly url params | ||
// Call any postLogin function in authConfig | ||
@@ -182,2 +181,5 @@ if (config === null || config === void 0 ? void 0 : config.postLogin) | ||
setError(error.message); | ||
}) | ||
.finally(() => { | ||
window.history.replaceState(null, '', window.location.pathname); // Clear ugly url params | ||
}); | ||
@@ -184,0 +186,0 @@ } |
@@ -11,2 +11,3 @@ "use strict"; | ||
catch (error) { | ||
console.warn(`Failed to parse stored value for '${key}'.\nContinuing with default value.\nError: ${error.message}`); | ||
return initialValue; | ||
@@ -13,0 +14,0 @@ } |
{ | ||
"name": "react-oauth2-code-pkce", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "Provider agnostic react package for OAuth2 Authorization Code flow with PKCE", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39748
663