authClient in lib/api.ts targets /auth/inspector with @better-auth/expo (expoClient, expo-secure-store, attikmobile scheme, authjs cookie prefix) and manual saveSessionCookie for iOS cookie behavior.app/(auth)/login.tsx and app/(auth)/verify-otp.tsx use authClient.$fetch / signIn.social — there is no biometric enrollment or unlock path in the scanned mobile tree.src/util/functions/betterAuth/auth.ts (createInspectorAuth, expo plugin, basePath: '/auth/inspector', trusted origins including attikmobile://), with related endpoints under inspectorAuthEndpoints, login.ts (toNodeHandler / Better Auth), and session.ts.Attik Backend
auth.ts, inspectorAuthEndpoints.ts, and route mounting in login.ts).Attik Mobile
lib/api.ts session storage behavior coherent with @better-auth/expo and SecureStore.attik-backend/src/util/functions/betterAuth/auth.ts, attik-backend/src/util/functions/betterAuth/inspector/inspectorAuthEndpoints.ts, attik-backend/src/routes/login.ts, attik-backend/src/routes/session.tsattik-mobile/lib/api.ts, attik-mobile/app/(auth)/login.tsx, attik-mobile/app/(auth)/verify-otp.tsx, attik-mobile/package.json (better-auth, @better-auth/expo)Please authenticate to join the conversation.
Planned
Main App
About 2 months ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 2 months ago
Linear
Get notified by email when there are changes.