Skip to content

Device Pairing

Joseph Mattiello edited this page Nov 15, 2026 · 1 revision

Pair a device to browse and download from a library that requires sign-in. The server issues a revocable, read-only device token. Your app saves it for the next time you open the catalog.

Pair with a QR code or PIN

  1. In iFly, open Add Games → Emulation Server. In iCube, select the server from Nearby Libraries. In Provenance, open Nearby Libraries → Add Content Server.
  2. Choose or enter the server address and select Request Access.
  3. On the web or desktop interface for that same server, sign in as the owner. Open Settings → Devices and approve the matching device under Device access requests.
  4. On the requesting device, choose Scan QR Code and tap the highlighted code in the camera view, or enter the six-digit PIN and choose Connect.
  5. To remove access later, revoke the device token in Settings → Devices.

Requests expire after five minutes. If the request expires, start a new one in the app. If an older app shows a PIN on the device, use Review device in Settings → Devices to approve that PIN.

Use HTTPS on remote connections. For a trusted local server using HTTP, enable the app's local HTTP pairing option before requesting access.

API

Request-first clients start with POST /api/v1/device-pairing/requests. Keep the returned secret on the requesting device. The owner can list requests and approve or dismiss individual requests. The app polls /api/v1/device-pairing/requests/status and posts the request ID, secret, and PIN to /api/v1/device-pairing/requests/complete. On success the server returns the read-only token once. Client integration and compatibility · API reference

Clone this wiki locally