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

    Auth Card Reference

    A deliberately small surface

    The card owns the sign-in state machine, so what an author can reach is brand and feature choice — never wiring. Everything below is the whole configurable surface.

    Properties

    PropertyValuesDefaultNotes
    Modesign_in · sign_up · passwordlesssign_inSigning up always sends a code — no session is issued until it is verified
    Identify people byemail · phoneemailSets the keyboard, the input type, and which channel codes are sent on
    HeadlineTextEmptySupports dynamic values and localisation
    Button labelTextEmptyLeft empty, the button names the step it is on. Usually better than a fixed label
    Hide when signed inToggleOffOff: a signed-in visitor sees "Signed in as …" and, on the web, a Sign out link. On: the card renders nothing
    Skip this screen when signed inToggleOffIn a multi-screen wall, advances past the card for someone already signed in. Never after Back
    Signed-in textTextEmpty{{user.displayName}} is replaced with the label the app supplied. Empty: "Signed in as …", or "Signed in" with no label
    In-app noticeTextEmptyShown inside a native app, where the app signs people in. Empty: the card renders nothing there
    Continue with GoogleOn / offOffConfigure the provider in Project Settings → OAuth
    Continue with AppleOn / offOffNeeds the Services ID and the Team ID, Key ID and .p8 key (Project Settings → OAuth) — Apple signs its client secret with your key. Apple returns by POST to BillDog's bounce, never to the wall
    Continue with FacebookOn / offOffNeeds the App ID and App Secret. Runs BillDog's redirect flow — no Facebook SDK on the page
    Offer a password resetOn / offOnSends a reset code, then collects it with the new password

    Colour, typography, radius, border, shadow, padding, margin, position, transform, blur and animation come from the standard property groups, so the card inherits the wall's brand. There is no bespoke theming surface and no input-binding surface.

    The five steps

    Every transition is driven by a server answer, never by the author. That is the point of putting the machine in the component.

    StepWhat the person sees
    identifyingThe identifier, plus a password in sign_in / sign_up mode
    awaiting_codeA one-time code was sent and is being entered
    mfaFirst factor passed — a password, a code, or a social sign-in the browser just returned from — and the server wants a second. After a social sign-in there is no identifier field; the challenge names the account
    reset_confirmA reset code was sent; collecting it with the new password
    successSigned in — the wall advances or navigates

    Every code step has a way back, and both code transitions announce themselves. An earlier version had seven ways into the code step and none out, with the identifier locked read-only — so anyone who tapped "Create account" while already registered waited at a silent box for a code that is deliberately never sent to them.

    Where it renders, and where it does not

    SurfaceBehaviour
    Hosted page — <name>.billdog.app or your verified domainFully live — this is what it is for. A social sign-in that returns owing a second factor lands on the mfa step; one that is refused shows the reason
    Builder canvas and dashboard previewsRenders and is brandable; does not submit
    Web SDK (@billdog.io/web) with configure({ auth })Fully live through the app's own BillDogAuth, which holds the session. A social sign-in returns to the page, and an owed second factor re-opens the wall on the mfa step. Without auth, behaves as in a native app
    Inside a native app's WebViewDoes not sign anyone in — the app's SDK does. Shows the In-app notice (nothing by default), or the signed-in state

    Signed-in state

    The app tells the wall two things: whether someone is signed in, and a label to show (usually their email). Never a token and never an id — the customer's identity stays in the SDK. Walls can use {{user.isSignedIn}} and {{user.displayName}} in text and conditions on every surface, native rendering included.

    • BillDog Auth: automatic. Label it with BillDogAuth.setDisplayName(email) (iOS, Android, React Native, Flutter); the web SDK uses the identifier typed into the card.
    • Another auth provider: setAuthState({ isSignedIn, displayName }) — on the web SDK, React Native and Flutter auth modules, or WallAuthStateRelay.setHostState natively.
    • logIn(appUserId) identifies a customer; it does not mark anyone signed in.

    Localisation

    The headline and the button label are localisable like any other text property, so a wall with translations does not render its copy in French and its sign-in button in English. The builder's localisable set is imported from the renderer's rather than restated, so the two cannot drift.

    Errors the card shows

    • Blank or malformed fields are named locally, before a request — so an empty box does not cost one of three attempts per ten seconds and come back as a generic server error.
    • Credential failures surface as the server's single opaque message. There is nothing more specific to show.
    • OAuth failures are surfaced rather than swallowed: an unconfigured provider or a rejected redirect used to leave a clean form and no message. The buttons also have a busy state, so repeated taps do not each start a new flow.

    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.