remix-auth-oauth2
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -61,3 +61,3 @@ import { ObjectParser } from "@edgefirst-dev/data/parser"; | ||
throw new ReferenceError("Missing code in the URL"); | ||
let store = StateStore.fromRequest(request); | ||
let store = StateStore.fromRequest(request, this.cookieName); | ||
if (!store.has()) { | ||
@@ -64,0 +64,0 @@ throw new ReferenceError("Missing state on cookie."); |
@@ -93,6 +93,5 @@ import { Cookie, SetCookie } from "@mjackson/headers"; | ||
if (name.startsWith(cookieName)) { | ||
// biome-ignore lint/complexity/noForEach: This is ok | ||
new URLSearchParams(cookie.get(name)) | ||
.entries() | ||
.forEach(([key, value]) => params.append(key, value)); | ||
for (let [key, value] of new URLSearchParams(cookie.get(name))) { | ||
params.append(key, value); | ||
} | ||
} | ||
@@ -99,0 +98,0 @@ } |
{ | ||
"name": "remix-auth-oauth2", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "A strategy to use and implement OAuth2 framework for authentication with federated services like Google, Facebook, GitHub, etc.", | ||
@@ -52,3 +52,3 @@ "license": "MIT", | ||
"@edgefirst-dev/data": "^0.0.2", | ||
"@mjackson/headers": "^0.8.0", | ||
"@mjackson/headers": "^0.9.0", | ||
"arctic": "^2.3.0", | ||
@@ -55,0 +55,0 @@ "debug": "^4.3.7" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
39062
505
+ Added@mjackson/headers@0.9.0(transitive)
- Removed@mjackson/headers@0.8.0(transitive)
Updated@mjackson/headers@^0.9.0