Skip to main content
Base URL: https://api.firmngin.dev/api/saas/v1/flash Enrollment is the second authentication mode. It binds a client installation to an ES256 key so data requests use short-lived DPoP tokens instead of sending the API key on every request. Use enrollment when the app is distributed to user machines, when a leaked API key should not be enough to act as an existing installation, or when you need per-installation revocation. For a simple internal tool, the API key mode is usually enough.

Endpoints

Challenge

Enroll

signature is the ES256 signature over SHA-256(challenge). The public key must be P-256. One API key can have at most three active installations.

DPoP request

Proof claims: htm, htu, iat, jti, and ath. Proof header: typ: "dpop+jwt" and jwk.

Refresh

The refresh proof omits ath. Refresh tokens rotate; reuse revokes the family.

Installations

Revocation invalidates the installation’s access tokens on the next request and revokes its refresh tokens.