Habr•November 20, 2026•🇷🇺Translated from Russian

Integrating OAuth 2.0 with PDP Architectures Without Modifying Core Authorization Engines

The article examines practical ways to combine OAuth 2.0 delegated access mechanisms with traditional PEP/PDP authorization architectures without altering the core PDP implementation.

OAuth 2.0 handles how applications obtain delegated access through access tokens that carry scopes, yet it does not define how resource servers should evaluate those tokens against policy-based authorization systems. Conversely, PEP/PDP engines evaluate requests according to configured policies using calls such as PDP.Check(subject, operation, resource, context) but typically lack native understanding of OAuth clients, scopes, and delegation.

The proposed solution introduces an OAuth-aware PDP that acts as an intelligent proxy. It validates access tokens, interprets their contents, and converts OAuth grants into one or more standard PDP checks. Two classes of scenarios are distinguished: tokens that do not contain scopes (grants stored in the policy system) and tokens that embed scopes directly.

Expressing OAuth Scopes as Authorization Policies

Scopes are modeled as combinations of operations, resources, and optional context filters. An op-scope represents a named set of operations (similar to a role in cloud IAM). A res-scope adds a resource filter, allowing clients to be limited to specific resource boundaries. Richer context parameters can further restrict actions such as money transfers within a budget.

Three Authorization Use Cases

UC.1 stores user-consented grants as policies attached to a synthetic subject u+c (user plus client). The token carries only sub and client_id; the OAuth-aware PDP reconstructs the synthetic subject and performs two checks: one for the grant and one for the real subject.

UC.2 extends the model with tenant-level administrative grants using another synthetic subject t+c. The authorization decision becomes a logical OR between tenant and user grants before checking the subject’s actual permissions.

UC.3 places scopes inside the token. When the PDP supports ephemeral policies (for example, OpenFGA Contextual Tuples), the OAuth-aware PDP creates a temporary synthetic subject and policy for that request only. If ephemeral policies are unavailable, the OAuth-aware PDP must emulate the logic, which is noted as an architectural compromise.

The design recommends returning distinct denial reasons so the PEP can differentiate between insufficient OAuth grants and insufficient subject permissions. An OAuth-aware PAP is suggested to limit the Authorization Server’s ability to create policies only for delegation subjects. The overall architecture supports the AuthZEN standard interface and works with both stored and token-carried grants.

Related articles

Habr•Policy & Regulation

US and China Hold Sole Authority to Slow AI Development Amid Structural Power Struggle

The two-part analysis examines how the United States and China alone possess the structural levers to regulate or pause AI advancement, while other nations operate under managed dependence. Key developments include rejected proposals from Anthropic and OpenAI leaders for industry-wide slowdown agreements, replaced by bilateral talks between Trump and Xi Jinping. Export controls on advanced chips have shifted focus from hardware to cloud access, with new US rules requiring licenses when foreign data centers serve Chinese entities. Anthropic introduced tiered access to Claude's cyber capabilities, where Defense and Red Team levels dramatically increase successful exploitation rates in tests. Real-world patching data shows AI-assisted attackers exploiting vulnerabilities within hours, far outpacing traditional response windows. The articles frame AI as a new system of structural power spanning security, production, finance, and knowledge layers.

Habr•Policy & Regulation

Avoiding Biometric Data Processing Requirements in Russian Access Control Systems

Russian organizations operating access control systems with facial recognition at turnstiles face strict biometric data rules under Federal Law 152-FZ and 572-FZ. The article outlines three practical exits from biometric regime by changing technology or purpose rather than just documentation. Organizations can replace facial recognition with NFC cards, QR codes, or corporate credentials to eliminate written consent obligations and higher protection levels. Alternatively, they can stop using images for identity verification while retaining them as ordinary personal data. A third partial option involves disabling automated matching and relying on human verification, which removes 572-FZ restrictions but keeps 152-FZ biometric obligations. The guidance includes an inventory process, technology redesign steps, and proper destruction of accumulated biometric templates within 30 days. Roskomnadzor positions and court practice are referenced to support compliance decisions.

AntiMalware•Policy & Regulation

Google to Publicly Disclose Addresses and Phone Numbers of Commercial Android Developers Worldwide

Starting March 1, 2027, Google will publish the addresses and phone numbers of commercial Android app developers in Google Play. The change stems from the platform's transition to an online marketplace model in the European Economic Area and the United Kingdom. All existing developer accounts must declare trader or non-trader status by February 1, 2027, while new accounts require immediate declaration. Independent developers working from home have raised concerns about privacy risks, with some already renting offices to avoid listing residential addresses. Google mandates physical addresses in payment profiles and prohibits post office boxes. In contrast, Apple restricts disclosure to jurisdictions where legally required and permits post office boxes with supporting documentation. Google has not clarified why the rules apply globally or what protections it will offer for developers and their families.

Habr•Policy & Regulation

Personal Data in SaaS: Defining Where Provider Responsibility Ends Under Russian Law

The article examines how Russian companies using SaaS platforms must determine the exact roles of operators and processors when handling personal data under Federal Law No. 152-FZ. It highlights that even when contracts assign responsibility to the client, actual duties are defined by who sets processing purposes, data composition, and operations. Key requirements include localizing databases for Russian citizens' data, managing cross-border transfers, and ensuring incident notification timelines are contractually defined. The piece also covers Supreme Court rulings on operator liability for processor actions and practical steps for auditing SaaS architectures before deployment. Companies are advised to map responsibilities for access controls, logging, backups, and data destruction to avoid regulatory penalties.