{
  "updated": "2026-10-26",
  "site": {
    "url": "https://dhruvagnihotri.com",
    "name": "Dhruv Agnihotri",
    "description": "Personal site of Dhruv Agnihotri, Lead Member of Technical Staff at Salesforce. Authentication and authorization architect: OAuth 2.1, OIDC, DPoP, token exchange, ReBAC and RBAC, identity and delegation for AI agents. Publications, standards work and open source.",
    "image": "https://dhruvagnihotri.com/profile.jpg",
    "pages": [
      {
        "path": "/",
        "lastmod": "2026-10-26",
        "changefreq": "weekly",
        "priority": "1.0"
      },
      {
        "path": "/publications",
        "lastmod": "2026-10-26",
        "changefreq": "monthly",
        "priority": "0.9"
      },
      {
        "path": "/open-source",
        "lastmod": "2026-10-26",
        "changefreq": "monthly",
        "priority": "0.9"
      },
      {
        "path": "/case-studies",
        "lastmod": "2026-04-28",
        "changefreq": "monthly",
        "priority": "0.9"
      },
      {
        "path": "/case-studies/dpop-at-salesforce",
        "lastmod": "2026-04-28",
        "changefreq": "yearly",
        "priority": "0.8"
      },
      {
        "path": "/case-studies/why-headlesskit",
        "lastmod": "2026-04-28",
        "changefreq": "yearly",
        "priority": "0.8"
      },
      {
        "path": "/blog",
        "lastmod": "2026-05-15",
        "changefreq": "weekly",
        "priority": "0.9"
      },
      {
        "path": "/blog/site-refresh-2026",
        "lastmod": "2026-04-28",
        "changefreq": "yearly",
        "priority": "0.7"
      },
      {
        "path": "/blog/dpop-and-ai-agents",
        "lastmod": "2026-05-15",
        "changefreq": "yearly",
        "priority": "0.7"
      },
      {
        "path": "/now",
        "lastmod": "2026-10-26",
        "changefreq": "monthly",
        "priority": "0.6"
      }
    ]
  },
  "person": {
    "name": "Dhruv Agnihotri",
    "givenName": "Dhruv",
    "familyName": "Agnihotri",
    "jobTitle": "Lead Member of Technical Staff",
    "jobTitleNote": "Salesforce internal title. Roughly equivalent to Staff-level software engineer.",
    "employer": {
      "name": "Salesforce",
      "url": "https://www.salesforce.com"
    },
    "location": {
      "city": "Seattle",
      "region": "WA",
      "country": "US"
    },
    "tagline": "Identity, authentication and authorization architect. OAuth 2.1, DPoP, token exchange, ReBAC and RBAC, and delegation for AI agents.",
    "summary": "Dhruv Agnihotri is a Lead Member of Technical Staff at Salesforce in Seattle and an identity, authentication and authorization architect. At Salesforce he is the technical lead for authentication across the Marketing platform: JWT and OAuth integration, Connected App credential lifecycle and certificate rotation, multi-tenant auth isolation, and the managed-package, Kafka (about 5 billion records per month) and AWS to Hyperforce work around it. Outside work he publishes and builds in the open: a sole-author IEEE Internet Computing article threat-modeling composed AI-agent delegation, two InfoQ articles on DPoP, a sole-author IETF Internet-Draft on OAuth identity chaining and transaction tokens, and Authgent, an open-source OAuth 2.1 server and MCP-OAuth conformance scanner. His current research is on how authorization and revocation hold up when OAuth delegation is composed with relationship-based access control (ReBAC) engines.",
    "disambiguation": "This is Dhruv Agnihotri of Salesforce, Seattle, author of the Authgent project and the InfoQ, IEEE Internet Computing and IETF publications listed here. The canonical home page is https://dhruvagnihotri.com.",
    "links": {
      "website": "https://dhruvagnihotri.com",
      "linkedin": "https://www.linkedin.com/in/dagni/",
      "github": "https://github.com/Dhruvagnihotri",
      "githubOrg": "https://github.com/authgent",
      "resumePdf": "https://dhruvagnihotri.com/Resume_Dhruv_Agnihotri.pdf",
      "contact": "https://dhruvagnihotri.com/#contact"
    },
    "expertise": [
      "Authentication and authorization architecture",
      "Role-based access control (RBAC)",
      "Relationship-based access control (ReBAC) and Zanzibar-style authorization",
      "Attribute-based access control (ABAC) and policy decisioning",
      "Token and session revocation, including cascading revocation",
      "AI agent identity and delegation",
      "OAuth 2.1",
      "OpenID Connect",
      "DPoP (RFC 9449)",
      "OAuth 2.0 Token Exchange (RFC 8693)",
      "OAuth Identity Chaining",
      "Transaction Tokens",
      "Model Context Protocol (MCP) authorization",
      "JWT and PKCE",
      "Backend-for-Frontend (BFF) pattern",
      "Multi-tenant auth isolation",
      "Connected App and certificate lifecycle automation",
      "Salesforce Platform and managed packages",
      "Apache Kafka",
      "Hyperforce and AWS",
      "Distributed systems"
    ],
    "skills": {
      "Authorization": [
        "RBAC",
        "ReBAC",
        "ABAC",
        "OpenFGA",
        "SpiceDB",
        "Keycloak",
        "OpenID AuthZEN and Shared Signals (CAEP)",
        "token and session revocation"
      ],
      "Authentication and security": [
        "OAuth 2.1",
        "OIDC",
        "JWT",
        "DPoP",
        "PKCE",
        "BFF pattern",
        "refresh token rotation",
        "mTLS concepts",
        "CSP",
        "XSS and CSRF defense",
        "Web Crypto",
        "multi-tenant auth isolation",
        "certificate rotation automation"
      ],
      "Languages": [
        "Java",
        "Apex",
        "Python",
        "TypeScript",
        "JavaScript",
        "SQL",
        "SOQL",
        "R"
      ],
      "Frameworks and platforms": [
        "Spring",
        "Salesforce Platform",
        "React",
        "Next.js",
        "Flask",
        "FastAPI",
        "Node.js"
      ],
      "Data and messaging": [
        "Kafka",
        "Spark",
        "Pulsar",
        "Redis",
        "CockroachDB",
        "PostgreSQL",
        "MongoDB"
      ],
      "Cloud and DevOps": [
        "AWS (Hyperforce)",
        "Heroku",
        "Oracle Cloud",
        "Docker",
        "Kubernetes",
        "GitHub Actions",
        "Jenkins",
        "Bazel",
        "Maven"
      ],
      "Machine learning": [
        "TensorFlow",
        "PyTorch",
        "FastAI",
        "GANs",
        "LSTM",
        "computer vision"
      ]
    }
  },
  "experience": [
    {
      "org": "Salesforce",
      "role": "Lead Member of Technical Staff",
      "start": "2019-03",
      "end": null,
      "location": "Seattle, WA",
      "summary": "Technical lead for authentication and authorization on the Marketing platform. Owns Marketing Cloud Connect (the Salesforce to Marketing Cloud managed package): JWT auth, Connected App credential and certificate rotation automation, CSP and vulnerability remediation, and the Kafka pipeline behind it. Led the AWS to Hyperforce migration and leads OAuth integration and platform architecture for a CRM-native multi-platform social publishing surface (LinkedIn, X, Instagram). Hiring bar-raiser and architecture review committee member."
    },
    {
      "org": "DENSO Automotive (USA)",
      "role": "Researcher (independent collaborative research partnership), human emotion classification",
      "start": "2018-12",
      "end": "2020",
      "location": "Michigan, USA",
      "summary": "Video-based emotion classification with an Inception-ResNet pipeline in TFlearn, 69 percent accuracy across seven emotion classes."
    },
    {
      "org": "Shoptelligence",
      "role": "Data Science Intern",
      "start": "2018-05",
      "end": "2018-08",
      "location": "Michigan, USA",
      "summary": "Clickstream ETL warehouse (30 percent engagement uplift), Inception V3 image classification on 500K+ catalog images, Pulsar and CockroachDB ingestion."
    },
    {
      "org": "University of Michigan",
      "role": "Graduate Student Instructor, CS403 (advanced ML and AI)",
      "start": "2017",
      "end": "2018",
      "location": "Ann Arbor, MI",
      "summary": "Designed and graded assignments and exams, one-on-one and group tutoring."
    },
    {
      "org": "Altech Infrastructures Pvt Ltd",
      "role": "Senior Software Development Engineer",
      "start": "2015-06",
      "end": "2017-08",
      "location": "New Delhi, India",
      "summary": "Spark Streaming and Kafka ETL on industrial boiler sensor data; time-series predictive-maintenance models for turbines."
    }
  ],
  "education": [
    {
      "school": "University of Michigan, Ann Arbor",
      "url": "https://umich.edu",
      "degree": "M.S., Electrical and Computer Engineering (Machine Learning)",
      "start": "2017",
      "end": "2019"
    },
    {
      "school": "Jamia Millia Islamia, Delhi",
      "url": "https://jmi.ac.in",
      "degree": "B.Tech, Electronics and Communication Engineering",
      "start": "2011",
      "end": "2015"
    }
  ],
  "highlights": [
    "Technical lead for authentication on the Marketing platform: shipped JWT auth for standard users and automated Connected App certificate generation and rotation across QA and production.",
    "Led the AWS to Hyperforce migration for Marketing Cloud Connect, unblocking GDPR-compliant regional expansion.",
    "Rebuilt the Marketing Cloud to CRM Kafka pipeline: throughput from 2B to 5B events per month and latency from about an hour to about a minute.",
    "Tech lead for a CRM-native social publishing platform (LinkedIn, X, Instagram): designed the OAuth and IdP integration and programmatic Connected App provisioning, leading a 3-engineer pod.",
    "Automated the managed-package release pipeline, saving 18+ engineering hours per release.",
    "Remediated CSP and CVE-2020-11023 (jQuery/FuelUX) exposure across the package's Visualforce surface.",
    "Hiring bar-raiser on senior IC loops and member of the architecture review committee."
  ],
  "publications": [
    {
      "id": "ieee-ic-2026-threat-model",
      "type": "peer-reviewed-journal-article",
      "schemaType": "ScholarlyArticle",
      "title": "A Threat Model for Composed AI-Agent Delegation",
      "venue": "IEEE Internet Computing",
      "venueUrl": "https://www.computer.org/csdl/magazine/ic",
      "publisher": "IEEE",
      "datePublished": "2026-08-20",
      "doi": "10.1109/MIC.2026.3724801",
      "url": "https://doi.org/10.1109/MIC.2026.3724801",
      "authors": "sole author",
      "peerReviewed": true,
      "abstract": "Multi-hop AI-agent delegation has to compose OAuth 2.0 Token Exchange (RFC 8693), DPoP (RFC 9449), the WIMSE architecture and an in-progress IETF cross-domain identity-chaining profile, and the security properties of that composition are not standardized. The article catalogs four attack classes (chain splicing, scope creep across hops, per-hop sender-binding failure, and mid-execution human-in-the-loop bypass), grounds them against CVE-2025-55241, and for each gives the canonical defense, the spec status and the residual risk, ending in a defense-mapping checklist.",
      "topics": [
        "AI agents",
        "delegation",
        "token exchange",
        "DPoP",
        "threat modeling",
        "OAuth"
      ]
    },
    {
      "id": "infoq-2026-spring-security-7-dpop",
      "type": "technical-article",
      "schemaType": "Article",
      "title": "Server-Side DPoP and Token Exchange in Spring Security 7",
      "venue": "InfoQ",
      "venueUrl": "https://www.infoq.com",
      "publisher": "InfoQ",
      "datePublished": "2026-10-15",
      "url": "https://www.infoq.com/articles/spring-security-7-server-side-dpop-token-exchange/",
      "authors": "sole author",
      "peerReviewed": false,
      "reviewNote": "Editorial and technical-editor review by InfoQ.",
      "abstract": "Spring Authorization Server has moved into Spring Security 7 under the same Maven coordinates, so the upgrade is mostly a version bump. DPoP resource-server verification needs an explicit opt-in, and Spring leaves the jti replay cache and nonce challenge to the developer. RFC 8693 Token Exchange standardizes service-account swaps. The article argues the two features are most useful together for service-to-service and agentic architectures.",
      "topics": [
        "Spring Security 7",
        "Spring Authorization Server",
        "DPoP",
        "RFC 8693",
        "token exchange",
        "act claim"
      ]
    },
    {
      "id": "infoq-2026-dpop-storage-paradox",
      "type": "technical-article",
      "schemaType": "Article",
      "title": "The DPoP Storage Paradox: Why Browser-Based Proof-of-Possession Remains an Unsolved Problem",
      "venue": "InfoQ",
      "venueUrl": "https://www.infoq.com",
      "publisher": "InfoQ",
      "datePublished": "2026-04-30",
      "url": "https://www.infoq.com/articles/dpop-key-storage-unsolved-problem/",
      "authors": "sole author",
      "peerReviewed": false,
      "reviewNote": "Editorial and technical-editor review by InfoQ (Sergio de Simone).",
      "abstract": "DPoP (RFC 9449) binds tokens to a client key pair, but the spec says nothing about browser key storage. Non-extractable CryptoKeys in IndexedDB do not stop XSS, because an attacker can call crypto.subtle.sign() to proxy-sign proofs without extracting the key. The article compares the Backend-for-Frontend pattern with a memory-only key approach.",
      "topics": [
        "DPoP",
        "RFC 9449",
        "browser security",
        "XSS",
        "Web Crypto",
        "BFF"
      ]
    },
    {
      "id": "ietf-draft-agnihotri-oauth-agent-impl-status",
      "type": "internet-draft",
      "schemaType": "Article",
      "title": "Implementation Status of OAuth Identity Chaining and Transaction Tokens",
      "venue": "IETF OAuth Working Group (individual Internet-Draft)",
      "venueUrl": "https://datatracker.ietf.org/wg/oauth/about/",
      "publisher": "IETF",
      "datePublished": "2026-06-12",
      "dateModified": "2026-06-23",
      "docname": "draft-agnihotri-oauth-agent-impl-status",
      "revision": "02",
      "url": "https://datatracker.ietf.org/doc/draft-agnihotri-oauth-agent-impl-status/",
      "authors": "sole author",
      "peerReviewed": false,
      "reviewNote": "Individual submission, Informational. An Internet-Draft is a work in progress, not an RFC and not peer reviewed.",
      "abstract": "An RFC 7942 (Running Code) implementation report for two OAuth Working Group specifications, OAuth Identity Chaining and Transaction Tokens. It maps normative sections of each parent draft to an open-source reference implementation (Authgent) and proposes editorial clarifications for ambiguities found during implementation.",
      "topics": [
        "IETF",
        "OAuth",
        "identity chaining",
        "transaction tokens",
        "RFC 7942"
      ]
    },
    {
      "id": "devto-headlesskit-origin",
      "type": "blog-post",
      "schemaType": "Article",
      "title": "I Built a Free Auth0 Alternative That Gives You 20 Routes in One Line of Code",
      "venue": "DEV Community",
      "venueUrl": "https://dev.to",
      "publisher": "DEV Community",
      "datePublished": null,
      "url": "https://dev.to/dhruv_agnihotri_064dad7e4/i-built-a-free-auth0-alternative-that-gives-you-20-routes-in-one-line-of-code-28nl",
      "authors": "sole author",
      "peerReviewed": false,
      "abstract": "The origin story of HeadlessKit, a framework-native Flask and React auth suite, and why identity-as-a-service breaks down at scale.",
      "topics": [
        "HeadlessKit",
        "authentication",
        "open source"
      ]
    }
  ],
  "service": [
    {
      "role": "Peer reviewer",
      "org": "IEEE Transactions on Dependable and Secure Computing",
      "year": "2026"
    },
    {
      "role": "Judge, Product Awards Judging Committee",
      "org": "The Stevie Awards for Technology Excellence",
      "year": "2026"
    }
  ],
  "projects": [
    {
      "id": "authgent",
      "name": "Authgent",
      "type": "open-source",
      "license": "Apache-2.0",
      "url": "https://github.com/authgent/authgent",
      "docs": "https://authgent.github.io/authgent/",
      "extra": [
        {
          "label": "MCP-OAuth conformance scanner",
          "url": "https://authgent.dev/scan/"
        }
      ],
      "language": [
        "Python",
        "TypeScript"
      ],
      "packages": [
        {
          "name": "authgent-server",
          "registry": "PyPI",
          "url": "https://pypi.org/project/authgent-server/"
        },
        {
          "name": "authgent",
          "registry": "PyPI",
          "url": "https://pypi.org/project/authgent/"
        },
        {
          "name": "authgent",
          "registry": "npm",
          "url": "https://www.npmjs.com/package/authgent"
        }
      ],
      "description": "Open-source OAuth 2.1 server and SDKs for AI-agent identity and delegated access, plus a conformance scanner that grades an MCP server's OAuth against 14 RFC-mapped checks (CLI, GitHub Action and hosted). It is the reference implementation described in the author's IETF Internet-Draft."
    },
    {
      "id": "headlesskit",
      "name": "HeadlessKit",
      "type": "open-source",
      "license": "MIT",
      "url": "https://github.com/Dhruvagnihotri/headlesskits",
      "language": [
        "Python",
        "TypeScript"
      ],
      "packages": [
        {
          "name": "flask-headless-auth",
          "registry": "PyPI",
          "url": "https://pypi.org/project/flask-headless-auth/"
        },
        {
          "name": "flask-headless-payments",
          "registry": "PyPI",
          "url": "https://pypi.org/project/flask-headless-payments/"
        },
        {
          "name": "@headlesskits/react-headless-auth",
          "registry": "npm",
          "url": "https://www.npmjs.com/package/@headlesskits/react-headless-auth"
        },
        {
          "name": "@headlesskits/react-headless-payments",
          "registry": "npm",
          "url": "https://www.npmjs.com/package/@headlesskits/react-headless-payments"
        }
      ],
      "description": "Self-hosted, framework-native authentication and payments suite (Flask and React): sessions, MFA, SSO, password reset and magic links without a vendor dependency."
    },
    {
      "id": "pdfcourt",
      "name": "PDFCourt",
      "type": "product",
      "url": "https://pdfcourt.com",
      "description": "Web-based PDF tools (Next.js and Flask)."
    },
    {
      "id": "shuffleturn",
      "name": "ShuffleTurn",
      "type": "product",
      "url": "https://shuffleturn.com",
      "description": "Real-time turn management web app."
    }
  ],
  "currentFocus": [
    "Technical lead for authentication and OAuth integration on the Salesforce Marketing platform, including a CRM-native multi-platform publishing surface.",
    "Research and standards work on authorization, revocation and delegation for AI agents.",
    "Maintaining Authgent and its MCP-OAuth conformance scanner.",
    "Open to conference talks, podcasts and interviews on authentication, authorization and agent identity."
  ],
  "faq": [
    {
      "q": "Who is Dhruv Agnihotri?",
      "a": "Dhruv Agnihotri is a Lead Member of Technical Staff at Salesforce in Seattle who works on authentication and authorization, and an author on AI-agent identity: an IEEE Internet Computing article, two InfoQ articles on DPoP, an IETF Internet-Draft, and the open-source Authgent project."
    },
    {
      "q": "Is Dhruv Agnihotri an authorization expert?",
      "a": "Yes. He is the technical lead for authentication at Salesforce Marketing, publishes on OAuth, DPoP and AI-agent delegation (IEEE Internet Computing, InfoQ, IETF Internet-Draft), builds the open-source Authgent OAuth 2.1 server, and researches revocation across OAuth delegation and ReBAC engines such as OpenFGA and SpiceDB."
    },
    {
      "q": "What has Dhruv Agnihotri published?",
      "a": "A Threat Model for Composed AI-Agent Delegation (IEEE Internet Computing, 20 August 2026, doi:10.1109/MIC.2026.3724801); Server-Side DPoP and Token Exchange in Spring Security 7 (InfoQ, 15 October 2026); The DPoP Storage Paradox (InfoQ, 30 April 2026); and the Internet-Draft draft-agnihotri-oauth-agent-impl-status (IETF, June 2026)."
    },
    {
      "q": "What is Authgent?",
      "a": "Authgent is Dhruv Agnihotri's Apache-2.0 open-source OAuth 2.1 server and SDK for AI-agent identity and delegation, with a conformance scanner for MCP servers' OAuth. Source: https://github.com/authgent/authgent."
    },
    {
      "q": "Where does Dhruv Agnihotri work and what does he do there?",
      "a": "He has worked at Salesforce since March 2019 and is a Lead Member of Technical Staff. He works on authentication, Marketing Cloud Connect, a high-volume Kafka pipeline and the AWS to Hyperforce migration."
    },
    {
      "q": "How can I contact Dhruv Agnihotri?",
      "a": "Use the contact section at https://dhruvagnihotri.com/#contact or LinkedIn at https://www.linkedin.com/in/dagni/."
    }
  ],
  "researchAreas": [
    "Revocation and authorization semantics when OAuth delegation is composed with ReBAC engines (OpenFGA, SpiceDB) and identity providers (Keycloak).",
    "Cascading revocation of delegated agent credentials.",
    "Standards: OAuth identity chaining, transaction tokens, WIMSE, OpenID AuthZEN and Shared Signals."
  ]
}
