diff --git a/src/feature/featurelistcallback.h b/src/feature/featurelistcallback.h index fa2097fb4d..ece476e297 100644 --- a/src/feature/featurelistcallback.h +++ b/src/feature/featurelistcallback.h @@ -94,17 +94,14 @@ bool FeatureCallback_captivePortal() { } bool FeatureCallback_inAppAuthentication() { -#if defined(MZ_WASM) - return true; +#if defined(MZ_WINDOWS) + // Windows: InAppAuth for prod, web auth for staging + return Constants::inProduction(); +#elif defined(MZ_ANDROID) || defined(MZ_IOS) || defined(MZ_WASM) + return true #else - if (Constants::inProduction() || byPlatform({ - .android = true, - .ios = true, - })()) { - return true; - } - - return false; + // macOS and Linux + return false #endif }