Nutrient

SDK

Cloud

Low-Code

Workflow

Authentication flow

DWS Viewer API uses JSON Web Tokens (JWTs) for authenticating its Nutrient Web SDK clients:

  1. 1
    Your backend creates a session token for a particular document via DWS Viewer API’s backend API.
  2. 2
    Next, it passes the session token to your client apps that use Nutrient Web SDK.
  3. 3
    Your app then passes the session token when loading the Nutrient Web SDK. It uses it to prove it has access to the claimed DWS Viewer API document.

The session token is generated and verified by DWS Viewer API