- Create and set up an application in Azure Active Directory.



https://<app-server-dns-name>/FlexiCapture12/Login/AccessToken/Saml
When setting up a tenant, URLs should be specified in the following format: https://<app-server-dns-name>/FlexiCapture12/Login/<TenantName>/AccessToken/Saml
- In the SAML Signing Certificate section, download your public certificate in Base64 format by clicking the link next to Certificate (Base64).
- From the Login URL field in the Set up [application name] section, copy the URL for accessing the server of the external identity provider.
- Set up the required parameters in ABBYY FlexiCapture using a script. To do this:
- the path to the Application Server
- the path to the public certificate
- the path to the image that will be used for the new button (images in *.svg, *.jpg, and *.png formats are supported)
- the name of the tenant for which the parameters are being set up
- the name of the external identity provider that will be contacted when the user clicks the Log in with… button
- the URL that will be used to access the server of the external identity provider
for example, $url = ‘https://localhost’. b. certFilePath is the path to the public certificate,
for example, $certFilePath = ‘C:\Temp\AzureAD_FC_integration.cer’. c. pictureFilePath is the path to the image that will be used for the new button,
for example, $pictureFilePath = ‘C:\Temp\index.svg’. d. tenant is the name of the tenant for which the parameters are being set up,
for example, $tenant = ‘TenantName’.
Note: This parameter should only be specified if multiple tenants are used. e. providerName is the external identity provider,
for example, $providerName = ‘Azure AD’ (the button text will then say “Log in with Azure AD”). f. Reference is the URL for accessing the external identity provider,
for example, $Reference = ‘https://login.microsoftonline.com/
123e4567-e89b-12d3-a456-426655440000/saml2’. As a result, the following button will appear on the web station’s login page: Log in with Azure AD.
For more technical details about SAML authentication requests and responses that Azure Active Directory supports for Single Sign-On, please refer to this article on Microsoft.com.
