callback login
Posted: 9. May 2022, 08:49
Hi all.
I have generated a QR code following the instructions:
[guest ID]+[pipe character]+[device name]+[pipe character]+[device group]
When a new device scans this QR code (Register Guest-Device) , the callback response is:
{
"action": "add-device",
"id": "27899",
"name": "device name",
"group": "device group",
"guest": "1"
}
After logged out, and changing the device name with a *NEW* device name and a new QR code ,
[guest ID]+[pipe character]+[NEW device name]+[pipe character]+[device group]
and scan again, the callback is not triggered, which makes sense for "action": "add-device". I was wondering if it would be possible to get the response code
{
"action": "log-device", <====
"id": "27899",
"name": "NEW device name", <===
"group": "device group",
"guest": "1"
}
Thanks a lot for your help.
Best regards.
Denis
I have generated a QR code following the instructions:
[guest ID]+[pipe character]+[device name]+[pipe character]+[device group]
When a new device scans this QR code (Register Guest-Device) , the callback response is:
{
"action": "add-device",
"id": "27899",
"name": "device name",
"group": "device group",
"guest": "1"
}
After logged out, and changing the device name with a *NEW* device name and a new QR code ,
[guest ID]+[pipe character]+[NEW device name]+[pipe character]+[device group]
and scan again, the callback is not triggered, which makes sense for "action": "add-device". I was wondering if it would be possible to get the response code
{
"action": "log-device", <====
"id": "27899",
"name": "NEW device name", <===
"group": "device group",
"guest": "1"
}
Thanks a lot for your help.
Best regards.
Denis