Comparing version 0.0.2-alpha.0 to 0.0.2
{ | ||
"name": "oauth-pkce", | ||
"version": "0.0.2-alpha.0", | ||
"version": "0.0.2", | ||
"description": "OAUTH PKCE code_verifier and code_challenge generator", | ||
@@ -68,3 +68,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "05f77e268eef2e4053fcc0ead7835f49301a5e3e" | ||
"gitHead": "bf02790db34419a57e3be30912e672ae65cae793" | ||
} |
@@ -59,3 +59,3 @@ # OAUTH PKCE code_verifier and code_challenge Generator for IE 11 and Modern Browsers | ||
### Server code_verifier Verification | ||
### Server Side code_verifier Verification | ||
@@ -73,3 +73,3 @@ For node environment, use [crypto module](https://nodejs.org/api/crypto.html) natively from node. | ||
code_challenge is a Base64URL encoded string ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)). To verify the `code_verifier` you need to convert the base64 value of `crypto.createHash('sha256').update(code_verifier).digest('base64')` to a base64url encoded string. | ||
code_challenge is a Base64URL encoded string ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)). To verify the `code_verifier` you need to convert the base64 value of `crypto.createHash('sha256').update(code_verifier).digest('base64')` to a **base64url** encoded string. | ||
@@ -76,0 +76,0 @@ _In `getPkce()`, base64url removes the pad characters "=" from code_challenge_ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
13764
11
159
1