You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. **Configure adequate overlap period**: Ensure your Auth0 tenant has at least 180 seconds token overlap configured
638
641
3. **Test on real devices**: Simulate network instability during testing to validate retry behavior
639
642
643
+
## Android Networking Configuration
644
+
645
+
> **Platform Support:** Android only. Accepted on iOS for API compatibility but has no effect.
646
+
647
+
The `networkingOptions` configuration option lets you tune the native networking client (`DefaultClient` from Auth0.Android's OkHttp-based stack) used for every request the native SDK makes on your behalf — web auth token exchange, credential renewal, MFA, passkeys, and My Account API calls.
648
+
649
+
```ts
650
+
networkingOptions?: {
651
+
connectTimeout?: number; // seconds, default 10
652
+
readTimeout?: number; // seconds, default 10
653
+
writeTimeout?: number; // seconds, default 10
654
+
callTimeout?: number; // seconds, default 0 (no limit)
655
+
defaultHeaders?: Record<string, string>; // sent on every request, default {}
656
+
enableLogging?: boolean; // default false
657
+
};
658
+
```
659
+
660
+
Any option you omit falls back to Auth0.Android's own default.
661
+
662
+
> [!WARNING]
663
+
> `enableLogging` is **debug-only**. When enabled, Auth0.Android logs full HTTP request and response bodies to Logcat — including access, refresh, and ID tokens returned from token-endpoint calls, in plaintext. Never enable it in a production build.
0 commit comments