Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Device Registration

bhrg3se edited this page Sep 28, 2020 · 2 revisions

There are 2 types of devices in TRASA.

  • Workstation: It’s the device used to access the TRASA dashboard or services.
  • TFA device: It’s the device used to authenticate the second factor. E.g. mobile phone and hardware token.

The registration process is different for these types.

TFA Device Registration

To register a TFA device, the TRASA mobile app must be installed on the device.

  1. Dashboard sends credentials to the TRASA server.
  2. The TRASA server validates the credentials and generates a TOTP token and device ID for a new device.
  3. The TRASA server sends a HTTP request to the cloud proxy server with the device ID.
  4. The cloud proxy now waits for a request from mobile app with the same device ID.
  5. The TRASA server returns a response of the request (1) with the device ID , TOTP Secret and cloud proxy address.
  6. Dashboard displays device ID , TOTP Secret and cloud proxy address as QR code.
  7. Mobile app
    • Scans the QR code
    • Generates a key pair
    • Saves private key
    • Sends public key, FCM token and device ID to cloud proxy
  8. Cloud proxy validates the device ID and forwards the request from mobile app to TRASA server as response to the request (3)
  9. The TRASA server saves the FCM token, public key and device ID in the database.

Sequence Diagram

Access Device (Workstation) registration

To register an access device, the TRASA device agent must be installed on the device.

Clone this wiki locally