Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io

    Hosted or SDK?

    One decision, per surface

    Hosted sign-in is a wall you author, served on the <name>.billdog.app address issued when you enable auth, or on a verified domain of your own. SDK-driven sign-in is your own UI calling the SDK. Both are first-class; they can coexist in one project, and the right answer differs by platform.

    The short answer

    PlatformRecommendedWhy
    WebEitherHosted gives you an httpOnly refresh cookie and the multi-step flows for free. The SDK gives you full control of the screen
    iOS, AndroidSDKThe refresh token belongs in the Keychain / EncryptedSharedPreferences, and the SDK owns the session the rest of BillDog reads
    React Native, Expo, FlutterSDKSame — the bridges delegate to the native SDKs precisely so that stays true
    Anywhere with no SDKHostedOpen it in a browser and verify the token on your backend

    What each gives you

     HostedSDK-driven
    Refresh tokenhttpOnly cookie, unreadable by JavaScriptKeystore on mobile; yours to hold cross-origin on web
    Second factorBuilt in — including after a social sign-inYes: attempt with the mfaToken, or completeSecondFactor on the native SDKs
    Password reset and changeReset on the wall; change on the /account portalYes — see Passwords
    Captcha and invite-only sign-upHandledWeb only — no native SDK can send those tokens
    Social sign-inRuns the flow for you — Google, Apple and Facebook, no provider SDK on the pageFacebook, Google on iOS and Apple on Android need nothing from your app — BillDog runs them in a browser. Apple is built in on iOS; Google on Android uses Google Play Services
    Look and feelAuthored in the builderEntirely yours
    NeedsAuth enabled (which issues the address), and a published Auth wall attached to placement billdog_auth_sign_in in a campaignAn SDK on the platform

    Getting to a working hosted page

    1. Enable auth. Project Settings → Auth. This issues <name>.billdog.app and <name>-sandbox.billdog.app as verified domains of the project — no DNS to configure. Rename the label there if you like, or add a verified custom domain under Web Checkout.
    2. Publish an Auth wall from one of the four recipes in the template gallery.
    3. Attach it to the placement billdog_auth_sign_in in a campaign — it is offered under System placements. The hosted address card on the Auth tab shows whether anything is attached and links to the campaign.

    Until step 3 the address answers NOT_CONFIGURED. After it, https://<name>.billdog.app/sign-in serves the wall, /account serves the portal, and ?next= carries a same-origin path to land on afterwards — see Building a sign-in wall for the URL rules.

    One case where hosted is the only answer

    • Projects with bot protection or invite-only access, on mobile. The native SDKs cannot send a captcha or invitation token, and cannot discover that one is required, so sign-up returns a 400 the app cannot explain. Route sign-up for those projects to the hosted page.

    Mixing them

    A common shape is SDK sign-in in the apps and a hosted wall on the web. Both produce the same session and the same token, so your backend verifies them identically and neither knows which one the person used. Sessions are per-device regardless: signing in on the web does not sign anyone into the app.

    Was this page helpful?

    Or rate this page:

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.