Client authentication in Nutrient Instant
When using Nutrient Android SDK with Instant, your client needs to authenticate itself with your running Document Engine instance. To do this, you need to generate a JSON Web Token (JWT). In most cases, your own backend application will generate a JWT, which is then sent to clients.
The client application can use the JWT your app supplied to authenticate itself. Document Engine will then return only the data the user is allowed to see. In general, a JWT will give the user access to a specific document and Instant layer combination.
If you’re having trouble generating valid JWTs, we have a guide that shows you how to validate JWTs using the Document Engine dashboard.