Main integration surface
Use:SwigIdpProvideruseSwigIdp()
startOAuth()startEmailOtp()startSmsOtp()listProviders()getSession()logout()
Basic shape
What the provider handles
- opening the isolated host in a system auth session
- parsing the deep-link callback
- persisting the returned Swig session
- exposing auth state through
isReady,isAuthenticated, andauthPhase
Mobile-specific requirements
redirectUrimust be configured- auth runs through
expo-web-browsersystem auth sessions - session persistence defaults to
expo-secure-store - the default network is devnet unless you override
network
What to avoid
Do not embed the isolated host in aWebView. The supported mobile path is a
system auth session so the host app cannot inspect the auth page.
