LibreAuth Nut.exe Visit Website

Apidog Integration

LibreAuth OpenAPI → Apidog Project — interactive API documentation

INFO
Project ID: 1307951 · Open: app.apidog.com/project/1307951
WARN
Do not commit Personal Access Tokens to Git. Store them in deploy/apidog.ini only (gitignored). Invite-link tokens are one-time use — create a new API Access Token in Account Settings.

Join Project

  1. Open the Apidog invite link (or project 1307951)
  2. Log in to Apidog → Accept invite → enter project libreauth
  3. Project Settings → Basic Settings → confirm Project ID = 1307951

OpenAPI Source

LibreAuth serves the spec automatically from api-spec.php — 9 endpoints with separate paths (/init, /login, …):

https://libreauth.nutexe.dev/docs/openapi.php

Scalar UI (self-hosted): Live API Reference · SDKs: 17 languages

Method 1 — Scheduled Import (Recommended)

Apidog pulls the URL automatically — no token storage on server (docs)

  1. Apidog project libreauthSettings → Import Data → Scheduled Import
  2. Source format: OpenAPI 3.x
  3. Source URL: https://libreauth.nutexe.dev/docs/openapi.php
  4. Frequency: every 30 minutes or daily
  5. Overwrite: Auto Merge
  6. Save → on new docs deploy, Apidog syncs automatically

Method 2 — Push via Script

  1. Apidog → Account Settings → API Access Token → create token (adgp_...)
  2. Local: copy deploy\apidog.example.ini deploy\apidog.ini
  3. Set token=adgp_YOUR_TOKEN (project_id preconfigured = 1307951)
  4. Run deploy\sync-apidog.bat
POST https://api.apidog.com/v1/projects/1307951/import-openapi
Authorization: Bearer YOUR_TOKEN
X-Apidog-Api-Version: 2024-03-28

{
  "input": { "url": "https://libreauth.nutexe.dev/docs/openapi.php" },
  "options": { "endpointOverwriteBehavior": "AUTO_MERGE" }
}

Method 3 — One-Time Import

  1. Apidog → Import Data → OpenAPI/Swagger → URL
  2. https://libreauth.nutexe.dev/docs/openapi.php
  3. Import → 9 endpoints with code samples ready

Publish Docs Site

  1. Apidog → Share → Publish Docs Site
  2. Get a public URL for sharing docs
  3. Customize theme to match LibreAuth brand
  4. Embed link in website or Panel

Client SDKs (17 Languages)

Use alongside Apidog Try-it — all languages in Client SDKs:

INFO
OpenAPI: openapi.php · Apidog: Project 1307951 · SDK: 17 langs