Products Technologies Demo Docs Blog Support Company

DS Server: Announcing Distributed OAuth Authentication for Scalable Applications

In the next update, DS Server provides support for a distributed OAuth authentication for scalable applications. This article gives an overview of this new feature and the advantages.

DS Server: Announcing Distributed OAuth Authentication for Scalable Applications

DS Server comes with a fully-featured, included OAuth authentication server that enables users to add Security Profiles to access the document services using access tokens or by using the Client ID and Client Secret directly. But what if multiple instances of DS Server are used for load balancing or when your backends are distributed across multiple regions, countries and continents?

In the current version, all security profiles must be cloned on all instances of DS Server, so that each request is able to authenticate the user. This implied another problem: During the OAuth process, an access token is provided. If this access token is then used on another server, this instance doesn't know this token and the request will be denied.

Distributed Authentication

The solution to this problem is a new feature of DS Server that allows each instance of DS Server to accept authentication requests from other DS Server instances. The following illustration shows a typical request flow:

DS Server OAuth

The instance DS Server #1 doesn't have any security profiles, but lists DS Server #2 as an Authentication Server. When a request is coming to instance DS Server #1 based on a specific user profiles (Profile #1), DS Server #1 is asking DS Server #2, if the authentication is valid. If yes, the request is accepted and processed on DS Server #1.

The actual server load is happing on DS Server #1 and based on your used load balancing distribution algorithm, the load can be balanced accordingly.

Central Authentication Server

This structure allows different server setups and the deployment can be tailored to the exact requirements when it comes to scalability. The following diagram shows a central server that takes care of all authentication requests. DS Server #1 is the only server with security profiles and is handling all requests for connected servers.

DS Server OAuth

Distributed Authentication Servers

In this case, all instances (or some) are able to authenticate each request. This allows a better redundancy and authentication requests can be processed even if a central server is not available or accessible.

DS Server OAuth

Portal Interface

The portal and the Web API have been extended to add authentication server URLs. The following screenshot shows the new portal section Authentication where 2 servers have been added:

DS Server OAuth

Stay tuned for more features of DS Server 3.1.0.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

ASP.NET

Integrate document processing into your applications to create documents such as PDFs and MS Word documents, including client-side document editing, viewing, and electronic signatures.

ASP.NET Core
Angular
Blazor
JavaScript
React
  • Angular
  • Blazor
  • React
  • JavaScript
  • ASP.NET MVC, ASP.NET Core, and WebForms

Learn more Trial token Download trial

Related Posts

ASP.NETASP.NET CoreDS Server

Getting Started Video Tutorial: Using DS Server with Docker

This video tutorial demonstrates how to quickly set up a Docker container with your own on-premises DS Server backend. You'll learn how to spin up the container in just seconds and configure it to…


ASP.NETASP.NET CoreConference

Unleash Document Automation Superpowers at NDC Oslo 2025

Join us at NDC Oslo 2025 to discover how to supercharge your document automation with the latest features and best practices. At our booth, you can explore the latest advances in document…


ASP.NETASP.NET CoreDocker

Announcing the Official DS Server Docker Image on Docker Hub

The official DS Server Docker image is now available on Docker Hub. This makes it easier to deploy the DS server in a containerized environment and manage and scale your applications. Based on the…


ASP.NETASP.NET CoreDS Server

Introducing DS Server 4.0: Linux-Ready and Container-Friendly

We are excited to announce the release of DS Server 4.0, our latest major update that makes your document processing workflows more flexible and powerful. This release marks two significant…


ASP.NETASP.NET CoreDS Server

Low Code vs. High Code: Differences between TX Text Control and DS Server

Low-code platforms help developers build applications faster with less implementation. This article explains the differences between the fully programmable library TX Text Control and the low code…