@auth/core
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -52,3 +52,3 @@ import { defaultCookies } from "./cookie.js"; | ||
} | ||
const { callbackUrl: defaultCallbackUrl } = defaultCookies(options.useSecureCookies ?? url.protocol === "https://"); | ||
const { callbackUrl: defaultCallbackUrl } = defaultCookies(options.useSecureCookies ?? url.protocol === "https:"); | ||
const callbackUrlCookie = request.cookies?.[options.cookies?.callbackUrl?.name ?? defaultCallbackUrl.name]; | ||
@@ -55,0 +55,0 @@ if (callbackUrlCookie && !isValidHttpUrl(callbackUrlCookie, url.origin)) { |
{ | ||
"name": "@auth/core", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Authentication for the Web.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -91,3 +91,3 @@ import { defaultCookies } from "./cookie.js" | ||
const { callbackUrl: defaultCallbackUrl } = defaultCookies( | ||
options.useSecureCookies ?? url.protocol === "https://" | ||
options.useSecureCookies ?? url.protocol === "https:" | ||
) | ||
@@ -94,0 +94,0 @@ const callbackUrlCookie = |
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
1255040