Approve a QR Code
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-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Responses
200
The request was successful.
application/json
429
API call exceeded rate limit due to too many requests.
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?