DWS Viewer API client authentication flow

DWS Viewer API uses JSON Web Tokens(opens in a new tab) (JWTs) for authenticating its Nutrient Web SDK clients:

  1. Your backend creates a session token for a particular document via DWS Viewer API’s backend API.
  2. Next, it passes the session token to your client apps that use Nutrient Web SDK.
  3. Your app then passes the session token when loading 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