누락 키 및 린트 적용

This commit is contained in:
kyy committed 2026-05-14 10:56:23 +09:00
1 parent da10b4be15
commit 79f5ace7ef
7 files changed
+38 -23

No files matched your search

+5 -1
View File
@@ -76,9 +76,13 @@ export function canStartBrowserPkceLogin({
origin = window.location.origin,
cryptoSubtleAvailable = Boolean(window.crypto?.subtle),
}: BrowserPkceLoginCheck = {}) {
if (!cryptoSubtleAvailable) {
return false;
}
if (isSecureContext) {
return true;
}
return isDevTrustedPkceOrigin(origin) && cryptoSubtleAvailable;
return isDevTrustedPkceOrigin(origin);
}