LibreAuth

TypeScript SDK

Node.js + TypeScript · LibreAuth native client · Protocol v2 available (Enterprise)

TypeScript Node.js + TypeScript
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

README-v2.md · ops-bridge processCheckOps after check · ops-executor + hardening · full Windows ops parity · BFF for browser · /api/v2/

  1. Credentials: name + ownerid (10 characters)
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: typescript/LibreAuth.ts
  4. Ed25519 key: from initResponse Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
# See sdk/typescript/README-v2.md · BFF for browser login

Code Example

TypeScript
import { LibreAuthV2 } from './libreauth-v2';
const app = new LibreAuthV2({ name: 'AppName', ownerId: 'OWNER_ID_10', url: 'https://host/api/v2/', bff: true });
await app.init();

Protocol v2 (Enterprise)

INFO
Requires Enterprise plan. Endpoint https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.

Source: typescript/README-v2.md

TypeScript · v2
import { LibreAuthV2 } from './libreauth-v2';
const app = new LibreAuthV2({ name: 'AppName', ownerId: 'OWNER_ID_10', url: 'https://host/api/v2/', bff: true });
await app.init();