Approve a QR Code

Approve a QR Code pairing request.

post

This endpoint is called after scanning a QR Code generated by POST api/v1/users/auth/passwordless/qrcode/generate. Once approved, the QR Code's status changes to "approved" and can be used for login.

Path parameters
qrCodeIdstring · uuidRequired

The unique identifier of the QR Code session.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Responses
200

The request was successful.

application/json
post
POST /api/v1/users/auth/passwordless/qrcode/{qrCodeId}/approve HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Accept: */*
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": {
    "id": "a85315be-488a-4d22-8641-666d44e53ef4",
    "status": "New",
    "approvedAt": null
  },
  "errors": []
}

Last updated

Was this helpful?