Habr•July 28, 2026•🇷🇺Translated from Russian

OAuth Authorization Server Built Without Storing User Profiles

OAuth servers typically combine authentication, profile management, and delegated authorization in one component. This case study describes a production architecture where the Authorization Server stores nothing about users beyond the identity asserted by an external IdP.

The system was shaped by three hard constraints. Hundreds of isolated APIs are created at runtime, each becoming its own audience. The client is a public SPA without a backend-for-frontend, so bearer tokens cannot be hidden from JavaScript. Resource servers must validate tokens locally because synchronous calls to a central AS would create unacceptable latency and a single point of failure.

The Authorization Server therefore knows only the IdP identity (provider and profileId) stored in short-lived Redis sessions. It issues short-lived access tokens and refresh tokens containing standard claims plus application claims for audience and tenant. The sub claim initially holds the federated identity; after the Main API registers or links the user, the same claim is replaced by an internal UUID together with profile claims.

Profile data lives exclusively in the Main API. This separation reduces blast radius: compromise of the AS yields no personal data, while compromise of the profile database leaves authentication untouched. The AS remains a pure issuer that can be rewritten or replaced without touching product logic.

Tokens never reside in localStorage or page memory. A Service Worker holds them in its isolated context, automatically attaches the Authorization header, and performs refresh centrally for all tabs. After login the SPA immediately revokes the first access token; the worker later obtains a fresh token via a custom FedCM grant that re-uses the existing session cookie.

The architecture also satisfies data-protection requirements by keeping personal data out of the central authority. Deletion requests are handled locally by each resource that stores a profile, eliminating the need to search the entire system for copies.

Related articles

AntiMalware•Other

SberTech Expands AI Agents in Platform V DataSpace to Enable Corporate Application Development from Text Descriptions

SberTech has introduced a new set of skills for its AI agents within the Platform V DataSpace platform, allowing the creation of corporate applications based on textual descriptions. The update focuses on automating the design of architectural components while respecting enterprise environment requirements. Presented at the AI Journey 2026 conference in Moscow, the skills draw from the company's low-code development practices and have been released openly on GitVerse. The AI agents can now handle user interfaces, server-side logic, data models, authorization mechanisms, and access rights. This addresses challenges in vibe coding by providing better architectural control and consistent service structures. According to CEO Maxim Tyatyushev, the capabilities support rapid prototyping, business hypothesis testing, and organizational scaling for both professional developers and non-programmers.

AntiMalware•Other

Russia's MAX Messenger Launches Chatbot for Presidential Appeals Collecting Personal Data

VK has activated a dedicated chatbot inside the MAX messenger to collect text and video messages addressed to President Vladimir Putin as part of the annual "Results of the Year" program. Citizens of Russia, regardless of age or region, must provide a phone number, full name, age, locality, and email address before submitting questions or recordings. The collection window opens at midnight Moscow time on 27 November and closes at the end of the live broadcast on 10 December. Messages will be reviewed by the program’s editorial team, which may contact senders using the supplied contact details, while GigaChat AI will assist users in refining their questions. Storage periods and handling procedures for the collected personal data remain unspecified in the official announcement. MAX joins other official channels including a dedicated website, mobile app, VK and Odnoklassniki communities, telephone, and SMS/MMS options.

AntiMalware•Other

Security Vision Releases SV5 Update with HTTPS Connectors, Dynamic Memory Management and MCP Automation

Security Vision has released a major update to its SV5 platform focused on improving secure integrations and operational resilience. The new version introduces HTTPS encryption for connector traffic, dynamic resource adaptation during memory shortages, and automatic discovery of MCP components. Administrators can now configure traffic encryption between the connector service and individual connectors to reduce interception risks during integration with internal and external IT systems. The workflow and connector services include mechanisms that automatically adjust parameters under peak loads to prevent critical errors. MCP setup has been simplified with self-discovery of REST tools, resources, and prompts even without explicit directory paths in configuration files. Additional improvements cover data visualization, manual refresh buttons in monitoring sections, a streamlined main menu, and automatic cleanup of performance logs after a defined retention period.

AntiMalware•Other

WhatsApp Rolls Out Scheduled Messaging Feature Preserving End-to-End Encryption

WhatsApp has introduced a scheduled messaging capability that allows users to set a specific date and time for messages, photos, videos, and links to be delivered automatically. The feature works even when the sender's device is powered off or offline, as the messages are stored on WhatsApp servers until the chosen delivery time. All scheduled content remains protected by end-to-end encryption throughout the process. Users can access and cancel planned messages through the chat information section, and recipients cannot detect whether a message was pre-scheduled or later removed. The rollout began with beta testers and will reach stable Android and iOS versions worldwide over the coming weeks, with a maximum scheduling window of 14 days.