> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/release_notes/2.2.0_release_notes.md). Agents can also search and read this documentation through its [MCP server](https://docs.facephi.com/~gitbook/mcp).

# 2.2.0

**Release date:** August 20, 2026

## Overview

Facephi Finger Service 2.2.0 adds optional JWT authentication and operational observability for the service: a complete snapshot at `GET /api/v1/finger/metrics`, its Prometheus exposure, and a response from `GET /api/v1/finger/health` with detailed status information. The fingerprint operation endpoints retain the public 2.x contract.

## What’s new

### Optional JWT authentication

* Protects `POST /api/v1/finger/extract`, `POST /api/v1/finger/authenticate` and `GET|POST /api/v1/finger/config` with HS256-signed JWTs that include the claim `exp`.
* Configured at startup via `config.json` (`auth_enabled`, `auth_jwt_secret`, `auth_accept_authorization_header`, `auth_accept_api_key_header` and `auth_api_key_header_name`) or with the environment variables `FACEPHI_FINGER_REST_AUTH_*`, and is disabled by default.
* `/health`, `/version`, `/metrics`, `/metrics/prometheus` and `OPTIONS` requests do not require a token.
* `GET /api/v1/finger/config` hides these settings, and `POST /api/v1/finger/config` rejects them with HTTP `400`.

### Operational metrics

* `GET /api/v1/finger/metrics` publishes a snapshot with the following blocks: `schemaVersion`, `timestamp`, `service`, `state`, `traffic`, `saturation`, `latency`, `usage`, `quality` and `alerts`, in addition to the fields `usageCountersEnabled`, `extractCount`, `authenticateCount` and `totalCount` from version 2.1.0.
* `state.classification` summarizes the snapshot in a single value (`ok`, `idle`, `degraded`, `saturated`, `unhealthy` or `unknown`) and `alerts` publishes active alerts.
* The `quality` block aggregates extraction quality and the result of successfully completed authentications.
* New endpoint `GET /api/v1/finger/metrics/prometheus`, with the same snapshot in Prometheus exposition format.

### Health

* `GET /api/v1/finger/health` returns, in addition to `message`, the `initialized` field and the `license` and `engine` blocks with details about the status of the license and processing components. Each call updates the health snapshot published by `/metrics`.

### Extraction

* `POST /api/v1/finger/extract` respects `options.includeQuality`: with `false`, the response omits `quality` and `qualityDetails`.

### Fixes

* In cluster deployments, the value of `FACEPHI_FINGER_ENGINE_MASTER` is correctly applied to node discovery.

## Migration notes

* Integrations using version 2.1.0 do not need changes, except those that send `"includeQuality": false` and still expected to receive `quality` and `qualityDetails`.
* If you enable JWT authentication, update the clients for fingerprint operations and `/config` so that they send a valid token.
* Probes that only read `message` of `/health` still work: `Healthy` or `Unhealthy`.

## Deployment

```bash
docker pull facephicorp.jfrog.io/docker-pro-fphi/facephi-finger-service:2.2.0

docker run -d \
  -p 6982:6982 \
  -v /path/to/license:/app/license \
  -v /path/to/config:/app/config \
  --name finger-service \
  facephicorp.jfrog.io/docker-pro-fphi/facephi-finger-service:2.2.0
```

## Requirements

| Component        | Requirement                |
| ---------------- | -------------------------- |
| Operating system | Linux x86\_64              |
| License          | Valid Facephi License file |
| Docker           | Recommended for deployment |

## Known limitations

* Fingerprint operation endpoints are only available when the service is running in the `master`.
* With a valid License, `license.statusMessage` of `/health` shows `Unrecognized licensing error code: LF_OK. Please contact support.`. This is a cosmetic message, fixed in version 2.2.1: the field that indicates the License status is `license.valid`.
* The JWT configuration is applied when the service starts; changing it requires restarting the service.

## Documentation

* [Installation Guide](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/installation/installation_instructions.md)
* [Technical Specifications](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/technical_documentation/technical_specifications.md)
* [Changelog](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/finger/changelog.md)

## Support

For Technical Support, contact your Facephi representative.
