@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias SignInFailure

    SignInFailure:
        | "invalid-credentials"
        | "wrong-code"
        | "invalid-fields"
        | "locked"
        | "disabled"
        | "rate-limited"
        | "expired"
        | "not-allowed"
        | "already-sent"
        | "email-not-sent"
        | "no-passkey"
        | "passkey-failed"
        | "passkey-cancelled"
        | "passkey-unsupported"
        | "passkey-stale"
        | "password-reset-required"
        | "single-sign-on"
        | "staff-unavailable"
        | "unavailable"

    Why a step was refused, in the screens' terms rather than a provider's codes.

    Type Declaration

    • "invalid-credentials"

      The email and password don't match an account.

    • "wrong-code"

      A one-time code didn't match.

    • "invalid-fields"

      The provider rejected fields; the reasons are in fieldErrors.

    • "locked"

      Too many failed attempts on the account.

    • "disabled"
    • "rate-limited"

      Too many requests from here, not an account problem.

    • "expired"

      The step outlived its session, so sign-in starts again.

    • "not-allowed"

      The provider has the action switched off, e.g. open sign-up.

    • "already-sent"

      The same email went out moments ago, so the provider held this one back.

    • "email-not-sent"

      The provider answered but couldn't send the email.

    • "no-passkey"

      The login has no passkey to offer.

    • "passkey-failed"

      The passkey prompt was dismissed, or the provider rejected what it signed.

    • "passkey-cancelled"

      The prompt to create a passkey was closed or timed out.

    • "passkey-unsupported"

      The browser has no WebAuthn to create a passkey with.

    • "passkey-stale"

      This device holds a passkey for the login that the provider no longer lists.

    • "password-reset-required"

      The provider holds the password back until it is reset.

    • "single-sign-on"

      The address's workspace logs in with its own IdP, which the visitor is sent to.

    • "staff-unavailable"

      A CFX staff address, where staff sign-in isn't set up: never tried as a member.

    • "unavailable"