What the app receives
After a successful callback, the SDK persists a Swig session with:configAddresswalletAddressroleIdauthFlowupdatedAt
Where sensitive steps happen
Sensitive auth steps stay inside the isolated host:- OAuth redirects
- email or phone entry
- OTP verification
- callback JWT handling
WebView.
Default storage by platform
| Platform | Default storage |
|---|---|
| Expo / React Native | expo-secure-store |
| Browser | window.localStorage |
Backend assumptions
By default, the SDK expects Swig identity and wallet endpoints behind the configured backend base URL and isolated-host URL. The default backend routes include:/identity/api/providers/identity/api/auth/start/identity/api/auth/email/start/identity/api/auth/sms/start/identity/api/signup/identity/api/session
Configuration points
The main config levers are:baseUrlisolatedHostUrlredirectUrinetworkstoragestorageKeyendpoints

