LibreAuth

Web Loader

Let users trigger actions on your desktop app from the browser — Customer Panel Remote tab → client LoaderWait().

INFO
Flow: Seller creates remote buttons in Panel → user logs into Customer Panel → presses a button → your running client receives the value via long-poll API.

How it works

  1. Panel → Web Loader — create buttons with a display name and a btn_value string (e.g. launch, inject)
  2. Customer Panel → Remote — logged-in user presses a button; an event is queued for that account
  3. Desktop client — authenticated SDK session calls loaderPoll (or LoaderWait) and receives the matching value
  4. Ack — client calls loaderAck with eventid so the event is not delivered twice

Seller Panel setup

FieldDescription
Button NameLabel shown on Customer Panel Remote tab
Button ValueString your client matches — letters, numbers, _ - . only
Require SubscriptionOnly users with an active sub can trigger the button
EnabledShow on Customer Panel immediately

Path: Manage Apps → select app → Web Loader. Copy the Customer Panel link from the toolbar.

Customer Panel

Users open the Customer Panel, sign in, and open the Remote tab. Each enabled button sends a one-shot signal to the desktop client logged in as the same user.

INFO
Customer Remote URL pattern: https://libreauth.nutexe.dev/panel/customer/?ownerid=OWNER_ID&app=AppName&pane=remote

Public loader page

Optional landing page for download + Remote link:

HTTP
GET https://libreauth.nutexe.dev/loader/?ownerid=OWNER_ID&name=AppName

SDK usage

JavaScript

JavaScript
const auth = new LibreAuth('AppName', 'OWNER_ID', 'https://libreauth.nutexe.dev/api/1.3/');
await auth.Init();
await auth.Login('user', 'pass', 'HWID');

// Block until user presses matching button on web (max 30s server wait per request)
const val = await auth.LoaderWait('launch', 30);
if (val === 'launch') {
    // run your action
}

// Or manual poll + ack
const hit = await auth.LoaderPoll('launch', 25);
if (hit) {
    console.log(hit.value, hit.eventid);
    await auth.LoaderAck(hit.eventid);
}

PHP

PHP
$app = new LibreAuth('AppName', 'OWNER_ID', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
$app->Init();
$app->Login('user', 'pass', 'HWID');

$val = $app->LoaderWait('launch', 30);
if ($val === 'launch') {
    // run your action
}

Lua (FiveM)

Lua
local auth = exports['your-resource']:GetAuth()
auth.Init('AppName', 'OWNER_ID', 'https://libreauth.nutexe.dev/api/1.3/')
auth.Login('user', 'pass', hwid)

local val = auth.LoaderWait('launch', 30)
if val == 'launch' then
    -- run your action
end

API types

WARN
Both endpoints require an authenticated SDK session (login or license completed). Events expire after 120 seconds if not consumed.

Enable in panel

Settings → Functions → Web Loader must be enabled (default on). Disable to block loaderPoll / loaderAck at the API layer.