Frodo Library - v4.8.5
    Preparing search index...

    Type Alias McpRuntimeBrowserAuth

    Credentials payload for a browser-login (interactive) request context.

    Unlike every other auth mode, resolving this one is not a single synchronous credential lookup — it requires a real interactive round trip (a loopback-redirect or device-authorization flow) before the instance is usable. See McpToolRuntimeOptions.browserLoginPromptHandler: this runtime never launches a browser or prints to a terminal itself, exactly like AuthenticateOps.getTokensInteractive() — the host embedding this MCP server (e.g. frodo-cli's frodo mcp server start) must supply a handler that presents the login step however is appropriate for its environment.

    type McpRuntimeBrowserAuth = {
        allowInsecureConnection?: boolean;
        curlirize?: boolean;
        debug?: boolean;
        deploymentType?: string;
        host: string;
        loginClientId?: string;
        loginRedirectUri?: string;
        loginScope?: string;
        mode: "browser";
        realm?: string;
        useDeviceFlow?: boolean;
    }
    Index

    Properties

    allowInsecureConnection?: boolean

    Optional insecure-connection toggle.

    curlirize?: boolean

    Optional curlirize toggle.

    debug?: boolean

    Optional debug toggle.

    deploymentType?: string

    Deployment type — required for browser login, since there is no existing session to auto-detect it from.

    host: string

    AM host base URL.

    loginClientId?: string

    OAuth2 client id (mandatory for forgeops/classic; cloud has a built-in default).

    loginRedirectUri?: string

    Full, absolute redirect URI to use, for a client registered with an exact-match redirect URI (shared with the non-interactive synthetic flow's own redirect URI setting).

    loginScope?: string

    Override the default scope requested for the target deployment type.

    mode: "browser"

    Discriminator for browser-login auth mode.

    realm?: string

    Optional realm override.

    useDeviceFlow?: boolean

    Use the OAuth2 Device Authorization Grant instead of a loopback redirect.