react-oauth2-code-pkce
Advanced tools
Comparing version 1.12.2 to 1.12.3
@@ -79,2 +79,7 @@ "use strict"; | ||
setLoginInProgress(true); | ||
if (typeof state !== 'string') { | ||
console.warn(`Passed login state must be of type 'string'. Received '${state}'. Ignoring value...`); | ||
(0, authentication_1.redirectToLogin)(config); | ||
return; | ||
} | ||
(0, authentication_1.redirectToLogin)(config, state); | ||
@@ -81,0 +86,0 @@ } |
{ | ||
"name": "react-oauth2-code-pkce", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"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
42966
715