Page 1 of 1

Guest registration

Posted: 3. Feb 2021, 12:43
by HGRogers
Hi
Congratulations on what looks like a very capable system. We have just started evaluating it.
Could you provide a little guidance please?
Say a customer of ours takes some action in our webapp that signals they wish to enrol a device. We construct a Device name and decide which group they should belong to. What action do we take next to generate the correct QR code ?
Many thanks

Re: Guest registration

Posted: 3. Feb 2021, 13:53
by admin
Hello,

to generate a QR-Code for registering devices with name and connection to a device group you have to concatenate 3 values seperated by a pipe char.

GUEST-ID|DEVICENAME|DEVICEG-GROUP-ID

Example
jE829KLo31j3SD9|HGRogers Phone|gs1234

A QR code must be created from this string.

Re: Guest registration

Posted: 3. Feb 2021, 14:08
by HGRogers
Thanks for the reply - Sorry but I'm still not clear, there does not appear to be anything in the QR code that guarantees the link to our Push Safer account ? & how does the callback-url figure in this process?
Thanks again

Re: Guest registration

Posted: 3. Feb 2021, 14:36
by admin
there does not appear to be anything in the QR code that guarantees the link to our Push Safer account
Your guest-id do that!!!

To assign the registered devices in your system automatically by e.g. a script, simply assign a unique alphanumeric ID for each device, which is transferred as the device name. In the callback response you can grab this value.

Re: Guest registration

Posted: 3. Feb 2021, 16:44
by HGRogers
OK Got it thanks.
The 'Guest-ID' is constant for a given account - like a secondary private key.
Many thanks

Re: Guest registration

Posted: 3. Feb 2021, 19:50
by admin
HGRogers wrote:
3. Feb 2021, 16:44
The 'Guest-ID' is constant for a given account - like a secondary private key.
that's the way it is

Re: Guest registration

Posted: 3. Mar 2021, 14:47
by Max4444
Remember to add the PIPE command between strings