Skip to main content

Trusted Devices API

Individual API

The Devices API manages trusted device functionality for "remember device" features.

Quick Navigation

Overview

This module provides:

  • Device fingerprinting
  • Device activation
  • Device management and revocation
  • Skip device activation option

Base Path

All device endpoints are prefixed with /api/v1/devices

Authentication

All endpoints require authentication:

Authorization: Bearer <access_token>

Devices Flow

The Trusted Devices API enables device fingerprinting and trust management for enhanced security. Users can activate trusted devices to streamline authentication experiences, especially for MFA flows.

Devices Flow Diagram

View Flow Diagram

Trusted Devices API Diagram

Devices Flow Overview:

This flow diagram illustrates the trusted device management workflow. It shows how device fingerprinting works, device activation process, and how trusted devices can bypass MFA challenges.

Key Flow Components:

  1. Device Fingerprinting: System generates unique device fingerprint using IP, user agent, and additional device characteristics
  2. Device Activation: Users can activate devices during MFA verification to mark them as trusted
  3. Device Trust Check: Trusted devices can bypass MFA challenges for streamlined authentication
  4. Device Management: Users can view, manage, and revoke trusted devices for security

Internal Developer Notes:

  • Device fingerprints are hashed for privacy and security
  • Activation tokens expire after 5 minutes
  • Trusted devices are linked to user accounts and can be revoked at any time
  • Device trust status is checked during authentication flows

Endpoints

MethodEndpointDescription
POST/activateActivate trusted device
GET/List trusted devices
DELETE/{device_id}Revoke trusted device
POST/skipSkip device activation

Internal Notes

  • All endpoints are fully implemented
  • Device fingerprinting uses IP, user agent, and additional fingerprint data
  • Activation tokens expire after 5 minutes
  • Devices are created during MFA verification with activation tokens

Swagger Documentation

Interactive API documentation available at: /docs#/devices