A very specific and interesting question!
You're referring to the successor of LDAP (Lightweight Directory Access Protocol), a venerable protocol for accessing and managing directory information services over IP networks. LDAP has been around since 1993 and has served us well, but indeed, the world has changed, and JSON (JavaScript Object Notation) has become a ubiquitous data interchange format.
While there's no single, universally accepted "official successor" to LDAP, I'll introduce you to a few JSON-based alternatives that have gained significant traction and are often considered the spiritual successors to LDAP:
- SCIM (System for Cross-domain Identity Management): SCIM is a RESTful API standard (RFC 7644) for managing identity data, designed to simplify user identity management across multiple domains and services. SCIM uses JSON for data representation and provides a standardized way to perform CRUD (Create, Read, Update, Delete) operations on identity objects (e.g., users, groups). Think of SCIM as "LDAP over HTTP with JSON".
- Pros: Simple, RESTful, widely adopted (e.g., Salesforce, Slack, Azure AD).
- Cons: Limited expressiveness compared to LDAP; not designed for complex directory queries.
- OpenID Connect (OIDC) with UserInfo Endpoint: While primarily an authentication protocol, OIDC (built on top of OAuth 2.0) provides a UserInfo endpoint, which returns JSON-encoded user profile data. This endpoint can be seen as a lightweight, JSON-based directory service.
- Pros: Ubiquitous adoption (Google, Facebook, Microsoft, ...), simple to implement.
- Cons: Not designed for large-scale directory queries or complex filtering; mainly focused on authentication.
- GraphQL for Directory Services: Some innovative companies are applying GraphQL, a query language for APIs, to directory services. This approach allows clients to request exactly the data they need, in JSON format, using a flexible query syntax.
- Examples: AWS Lake Formation (uses GraphQL for querying identity and access data), GitHub's GraphQL API (exposes some directory-like data).
- Pros: Flexible, efficient querying; schema-driven.
- Cons: Steeper learning curve; requires GraphQL expertise.
- SDAP (Self-Describing Attribute Protocol): SDAP is an IETF draft ( expired, but still relevant) proposing a JSON-based directory protocol, aiming to replace LDAP's rigid schema with self-describing attributes.
- Pros: Flexible attribute model, easy extensibility.
- Cons: Not widely adopted (yet); still an experimental protocol.
- Ory Keto (open-source): Ory Keto is a JSON-based, RESTful permission system inspired by Google's Zanzibar. While not a traditional directory service, it stores and manages permissions and relationships between users, groups, and resources in JSON format.
- Pros: Modern design, high performance, fine-grained permissions.
- Cons: Focuses on authorization rather than general directory data.
Honorable mentions:
- Microsoft Graph (exposes Azure AD and other MS services data via REST/JSON): While not an LDAP replacement per se, it provides unified access to various Microsoft directory services.
- Okta's Universal Directory: Okta's proprietary solution integrates multiple directories (including LDAP) and exposes them via REST/JSON APIs.
When choosing a successor to LDAP, consider the following factors:
- Your use case: Simple user authentication? (OIDC + UserInfo) Complex directory queries? (SCIM or GraphQL-based solutions)
- Data complexity: Do you need to store arbitrary attributes or relationships? (SDAP, Ory Keto, or GraphQL)
- Interoperability: SCIM has broad industry support; OIDC is widely adopted for authentication.
- Scalability and performance: GraphQL or Ory Keto might offer advantages here.
While no single winner takes it all, SCIM is currently the most widely accepted JSON-based standard for directory services, especially for identity management and provisioning use cases.
LDAP will continue to coexist with these emerging standards, as many legacy systems still rely on it. However, as the industry shifts toward cloud-native, microservices-based architectures, JSON-based protocols will increasingly become the norm.
Hope this helps you navigate the "Post-LDAP" landscape!