DS Server

Administration and Settings

Topic

After you install DS Server, a few administrative tasks make it ready for your applications: securing the admin portal, registering the license, creating the credentials each application uses and switching on the token check. Each task is done in the admin portal, and each can be automated with the Web API and the TXTextControl.DocumentServices.Admin package.

The Admin Portal

The admin portal is the web interface of DS Server. It is at the root of the service URL, for example http://localhost:5000/, and is protected by the admin user name and password, which your browser asks for in its own sign-in dialog. The navigation bar leads to every part of it:

Menu itemWhat you do therePage
Security ProfilesCreate, edit and delete security profiles, and switch OAuth on or offCreating Security Profiles, Enable OAuth, OAuth Grant Types
LicensingRegister, renew and unregister the license of this serverLicensing
AuthenticationRegister other DS Server instances as authentication serversAuthentication Servers
PluginsSee the installed plugins with their name, version, description and statePlugins
User icon, Admin PasswordChange the admin passwordDefault Admin Password

The Welcome to DS Server page opens after you sign in. Its Typical Tasks tiles lead to Security Profiles, Licensing and Authentication Servers, and the footer shows the version of DS Server, such as "DS Server version 5.0.2".

The welcome page of the admin portal

The Plugins page only lists what DS Server loaded at its start from the Plugins folder, or "No plugins installed."; plugins are installed by copying files, as Plugins describes.

Find the Right Page

If you want toRead
Sign in for the first time and replace the default passwordDefault Admin Password
Register DS Server with your serial number, online or without Internet accessLicensing
Create the client ID and client secret for an application and add its redirect URIsCreating Security Profiles
Make DS Server require access tokensEnable OAuth
Choose between the authorization code and the client credentials flowOAuth Grant Types
Let several DS Server instances accept each other's tokensAuthentication Servers

Where to Start

On a new installation, work through the tasks in this order:

  1. Change the admin password, before anything else: Default Admin Password.
  2. Register the license, because an unregistered server processes no documents: Licensing.
  3. Create a security profile for each application: Creating Security Profiles.
  4. Enable OAuth, once your applications have their credentials: Enable OAuth.

Automate the Administration

Every task except the plugins has a Web API equivalent: the Administration and Licensing endpoints. They take the admin user name and password in a Basic Authorization header, not an OAuth token, so scripts can set up new servers without the portal. In .NET, the TXTextControl.DocumentServices.Admin package wraps the administration endpoints in the Admin class; ASP.NET Core lists its methods. It has no methods for licensing.

Pages in This Section

  • Default Admin Password: sign in to the admin portal and change the default password.
  • Licensing: register a server online, manually or with the Web API, and what an unregistered server does.
  • Creating Security Profiles: create, edit and delete the client credentials of your applications.
  • Enable OAuth: switch the token check on and off, and what it changes.
  • OAuth Grant Types: the authorization code and the client credentials flow, and how to request tokens with each.
  • Authentication Servers: share token validation between several DS Server instances.