I want to login with barcode

Problem

I want to login to the Mobile WMS by scanning a barcode.

Limitations

Barcode login is not suited for use with Azure Active Directory authentication. As it will require two barcodes and generally lacks security.

See Logging in With Barcodes in an Azure Active Directory Scenario.

Solution

It is possible to login to Mobile WMS by scanning a barcode containing (Domain, Username, Password and Endpoint).

You need to use a GS1 Data Matrix, which can be created on the below webpage:

https://the-burtons.xyz/barcode-generator/

To create the barcode please follow these steps:

  1. Choose  GS1 Data Matrix as the barcode (dropdown)

  2. Use the following as contents: (95)username(96)password(97)domain(98)Endpoint id
    You will need to replace username, password, domain and Endpoint id with the correct values.

  3. Click on Make Barcode
  4. Download barcode for printing


Note that The Username and Password are mandatory, whereas the Domain and Endpoint are optional and therefore should only be included if it makes sense in your scenario.

If you do not have multiple endpoints, there is no reason to include this in the barcode for instance.

Logging in With Barcodes in an Azure Active Directory Scenario

When using AAD-login that relays the login to the Microsoft login page then it is not possible to use the application identifier 96 for the password.

The user will have to scan two barcodes to login.

  • A GS1 Data Matrix barcode with the (95) application identifier (for the username, which in this case typically is an email address). To generate a username with the "@" in it you have to use "dontlint" as shown on the image below.

  • A non-GS1 barcode (Code 128) without any application identifier (for the password)

Note that you in this case will store the password as plain text, which can poses a security risk. The only work around is that the user should key in the password, instead of scanning it.


See also