Overview of the authentication process
JSON Web Token (JWT) is a data transfer format that is used to transfer data securely between the ABBYY FlexiCapture 12 Application Server and third-party services. When authenticating through JWT, no identification data is sent to the Application Server. Authentication is carried out on a third-party service, following which the Application Server is informed that the user has been authenticated by a trusted service.Implementation
Getting JSON data
JSON data sample:The following sample request creates a JWT token:
The following sample request creates a JWT token:
Sending a JWT to the Application Server
A JWT needs to be sent to the Application Server using the following URL: https://<ApplicationServer>/Flexicapture12/Server/jwt. This is done using a POST request.If you are using a tenant, add the tenant’s identifier to the Application Server URL: https://<ApplicationServer>/Flexicapture12/Server/jwt?Tenant=MyTenantName
The Application Server will return a response like the one below:
The Application Server will return a response like the one below:
Using an authenticated ABBYY FlexiCapture 12 ticket
You can pass an authenticated ABBYY FlexiCapture 12 ticket to the server using a cookie file (the file must be named FlexiCaptureTmpPrn) or an Authorization: Bearer header.Example:
Example:
