This repository was archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
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.
To register a TFA device, the TRASA mobile app must be installed on the device.
- Dashboard sends credentials to the TRASA server.
- The TRASA server validates the credentials and generates a TOTP token and device ID for a new device.
- The TRASA server sends a HTTP request to the cloud proxy server with the device ID.
- The cloud proxy now waits for a request from mobile app with the same device ID.
- The TRASA server returns a response of the request (1) with the device ID , TOTP Secret and cloud proxy address.
- Dashboard displays device ID , TOTP Secret and cloud proxy address as QR code.
- Mobile app
- Scans the QR code
- Generates a key pair
- Saves private key
- Sends public key, FCM token and device ID to cloud proxy
- Cloud proxy validates the device ID and forwards the request from mobile app to TRASA server as response to the request (3)
- The TRASA server saves the FCM token, public key and device ID in the database.

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