diff --git a/src/lib/app-info.ts b/src/lib/app-info.ts
index 0749087eae..c0a28aea3f 100644
--- a/src/lib/app-info.ts
+++ b/src/lib/app-info.ts
@@ -16,3 +16,5 @@ export const appVersion = `${nativeApplicationVersion}.${nativeBuildVersion}`
export const bundleInfo = `${BUNDLE_IDENTIFIER} (${
__DEV__ ? 'dev' : IS_TESTFLIGHT ? 'tf' : 'prod'
})`
+
+export const USE_OAUTH = process.env.EXPO_PUBLIC_USE_OAUTH === 'true'
diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts
index 587f5fc3df..efd7d605a0 100644
--- a/src/lib/statsig/gates.ts
+++ b/src/lib/statsig/gates.ts
@@ -5,7 +5,6 @@ export type Gate =
| 'debug_show_feedcontext'
| 'debug_subscriptions'
| 'explore_show_suggested_feeds'
- | 'oauth'
| 'old_postonboarding'
| 'onboarding_add_video_feed'
| 'post_threads_v2_unspecced'
diff --git a/src/screens/Login/LoginForm.tsx b/src/screens/Login/LoginForm.tsx
index 44d7880fad..342c115a98 100644
--- a/src/screens/Login/LoginForm.tsx
+++ b/src/screens/Login/LoginForm.tsx
@@ -13,8 +13,8 @@ import {
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
+import {USE_OAUTH} from '#/lib/app-info'
import {useRequestNotificationsPermission} from '#/lib/notifications/notifications'
-import {useGate} from '#/lib/statsig/statsig'
import {isNetworkError} from '#/lib/strings/errors'
import {cleanError} from '#/lib/strings/errors'
import {createFullHandle} from '#/lib/strings/handles'
@@ -53,8 +53,7 @@ interface LoginFormProps {
}
export function LoginForm(props: LoginFormProps) {
- const gate = useGate()
- if (gate('oauth')) {
+ if (USE_OAUTH) {
return
} else {
return