Instructions for Qwantum Token Redemption Demo


This demo illustrates how to connect to a MagTek device and process the data from a scanned Qwantum Token. **Specifically, this application is designed for tokens formatted as QR Codes or NFC Tags that utilize either TOTP (Time-based One-Time Password) or OTC (One-Time Code) technology.** This workflow immediately retrieves and displays the token's associated claims, owner information, and usage count in real-time.

Note: You must have a compatible MagTek device connected to your computer to run this demonstration.

1. Device Connection and Management

Before scanning any tokens, you must establish a connection to the device:

Connecting via MQTT (Dyna Readers)

Unlike a standard USB-connected Dyna reader, the MQTT version of this demo requires identifying the specific Dev path of your MQTT-configured reader. This Dev path must be appended to the end of the base URL to establish a successful connection.

As long as the appended Dev path is a valid path to that MQTT-configured reader, the demo app will successfully connect and read the Qwantum Tokens.


2. Scanning or Tapping the Qwantum Token

Once the device is connected, the application is ready to receive token data:


3. Handling OTC/TOTP Verification

If the scanned Token requires additional verification:


4. Interpreting the Claims Data

After a successful scan, the main panel will populate with the token's associated data:


5. Monitoring the Transaction Log

The Transaction Log provides an essential audit trail and debugging tool:


6. Security Note

This demonstration executes API calls directly from the client-side (browser) to illustrate functionality within a standalone environment. This architecture is not intended for production use. In a live production environment, all API interactions should be routed through a secure backend server (server-side proxy) to protect API keys and sensitive credentials from being exposed in the browser.

7. Architectural Disclaimer

To provide a transparent view of the data flow, this demo implements direct client-to-API communication. Please be advised that this pattern exposes authentication tokens to the front end. Production implementations should utilize a Backend-for-Frontend (BFF) pattern or server-side SDKs to ensure security compliance and credential protection.

For further assistance or to discuss customizing your token configuration, please contact MagTek support.