---
title: "Verifies the login for OPAQUE."
method: POST
path: "/OPAQUE/LoginFinalize"
tags: ["OPAQUE"]
---

# Verifies the login for OPAQUE.

`POST /OPAQUE/LoginFinalize`

## Request

- Base URL: `https://api.pishock.com`
- URL: `https://api.pishock.com/OPAQUE/LoginFinalize`
- Auth: one of:
  - API key in header `X-PiShock-Token`
  - API key in header `X-PiShock-UserId`
  - API key in header `X-PiShock-Server-Key`
  - API key in header `X-PiShock-Api-Key`

This method requires OPAQUE parameters

## Request body

- OPAQUELoginFinalizeRequest: Request for OPAQUE Login.
  - `AuthU` string: Login Auth.
  - `MacAddr` string: MAC Address of the device.

## Response `204`

Login Completed.

## Other responses

- `400`: Request missing AuthU or correct MAC
- `404`: Device not registered.
- `417`: Device has not started login.
- `503`: OPAQUE Login failed.
- `2040`

## Changes

- **2026-11-10** `6398a6a65c40`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pishock/apis/pishock-public-api-v1/changes/OPAQUE/LoginFinalize/post.md)

---

[API](https://skmtc.dev/pishock/apis/pishock-public-api-v1.md) - [All operations](https://skmtc.dev/pishock/apis/pishock-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pishock/apis/pishock-public-api-v1/revisions/6398a6a65c40?raw)
