@auth0/nextjs-auth0 - v4.32.1
    Preparing search index...

    Interface TransactionState

    interface TransactionState {
        anonymousSessionLinked?: boolean;
        anonymousSessionRef?: string;
        audience?: string;
        authSession?: string;
        challengeMode?: "redirect" | "popup";
        codeVerifier?: string;
        maxAge?: number;
        nonce?: string;
        originDomain?: string;
        originIssuer?: string;
        responseType: RESPONSE_TYPES;
        returnTo: string;
        scope?: string;
        state: string;
        [propName: string]: unknown;
    }

    Hierarchy

    • JWTPayload
      • TransactionState

    Indexable

    • [propName: string]: unknown

      Any other JWT Claim Set member.

    Index
    anonymousSessionLinked?: boolean

    True when a transfer ticket was successfully minted and appended to /authorize (link attempted, not confirmed — Auth0 may silently discard expired or replayed tickets). Indicates to the onCallback hook that post-login migration logic may apply.

    anonymousSessionRef?: string

    SHA-256 digest, hex encoded, of the anonymous session token that was injected into this login transaction. The raw token is never stored here. The callback recomputes the digest from the anonymous cookie it receives and refuses to report a link when the two do not match, which is what binds the linkage signal to the browser that started the transaction.

    Absent on transactions created before this field existed, and on transactions where no anonymous session was injected. Both cases are treated as unbound rather than as a mismatch.

    audience?: string

    The audience used for this transaction.

    authSession?: string
    challengeMode?: "redirect" | "popup"

    The challenge mode for this transaction.

    • 'redirect' (default): Standard OAuth redirect flow
    • 'popup': Popup flow returning via window.postMessage
    codeVerifier?: string
    maxAge?: number
    nonce?: string
    originDomain?: string

    The Auth0 domain used for this transaction (MCD mode). Stored to validate that the session is for the same domain.

    originIssuer?: string

    The OIDC issuer URL for this transaction (MCD mode). Stored alongside originDomain for validation.

    responseType: RESPONSE_TYPES
    returnTo: string
    scope?: string

    The scope requested for this transaction.

    state: string