April 2026 Summaries
15 posts from Descope
Filter
Month:
Year:
Post Summaries
Back to Blog
AI-enabled code editors have evolved significantly, transitioning from basic autocomplete functions to advanced agents capable of planning, writing, and modifying code from a single prompt. Cursor and Windsurf are two such tools that embody this shift, each offering unique approaches to integrating AI into software development. Cursor maintains a review-driven development loop similar to traditional VS Code workflows, incorporating agent capabilities to assist with code changes while keeping developers actively involved in the process. In contrast, Windsurf centralizes its Cascade agent, enabling it to handle broader tasks autonomously, reducing the need for manual input and intervention. This distinction influences how tasks are executed, the level of control developers retain, and the overall workflow experience. While Cursor provides a more predictable and controlled environment, Windsurf offers speed and automation by allowing the agent to manage larger portions of the development process. Both tools support enterprise features like SSO and RBAC, but Windsurf emphasizes deployment flexibility and operational control. Ultimately, the choice between Cursor and Windsurf hinges on the developer's preferred balance between control and delegation, as well as their comfort with AI-driven workflows.
Apr 29, 2026
3,478 words in the original blog post.
The text provides a detailed comparison of two AI coding assistants, GitHub Copilot and Claude Code, examining their functionality, setup, and performance in implementing JWT authentication in a FastAPI app. GitHub Copilot, integrated within VS Code, operates as an advanced autocomplete tool leveraging GitHub's extensive code repository, but it struggled with context, creating a fake user database that led to inauthentic test results and OAuth2 compliance issues. Meanwhile, Claude Code, a terminal-native agent, demonstrated a comprehensive understanding by planning and executing tasks across multiple files, ensuring code correctness, database integration, and adherence to best practices, resulting in a more secure and maintainable codebase. Both tools are positioned differently: Copilot is recommended for well-defined tasks due to its integration and ease of use, while Claude Code is preferred for complex, multi-file projects requiring a holistic approach. The discussion underscores the importance of reviewing AI-generated code, particularly authentication systems, to ensure accuracy and security before deployment.
Apr 29, 2026
4,334 words in the original blog post.
MCP (Model Context Protocol) authentication plays a crucial role in secure and scalable access control for AI agents and workflows by defining how agents authenticate, request access, and act on behalf of users. This authentication method ensures permissions are tightly managed as workflows evolve, eliminating the need for ad hoc integrations and maintaining a consistent and secure agent ecosystem. The choice of an MCP authentication solution depends on application architecture, agent models, and long-term AI strategies, with platforms like Descope, Auth0, WorkOS, Stytch, and Scalekit offering varied features and benefits. Descope is highlighted for its MCP-native support, centralized policy enforcement, and agent-aware identity flows, making it a favorable choice for developers building AI-native applications. The guide emphasizes the importance of adopting a purpose-built authentication layer to ensure secure agent interactions, consistent policy enforcement, and scalable access control across evolving AI ecosystems.
Apr 27, 2026
2,951 words in the original blog post.
Enterprises are shifting from locally run Model Context Protocol (MCP) servers to remotely hosted ones that meet security and scalability standards, which has presented challenges in hosting and implementing compliant authorization. Descope and Render provide a solution by offering a FastMCP server that simplifies deployment and enforces scope-based access control using OAuth 2.1. Descope manages the identity layer, handling token issuance and validation, while Render packages the server logic into a hosted URL compatible with MCP clients. This setup allows for a quick deployment process through infrastructure-as-code, ensuring scalability and compliance with MCP authorization specifications. Descope further enhances security by managing consent flows, access control policies, and maintaining audit logs, treating AI agents as first-class identities to unify human and agent authentication. This streamlined approach simplifies the deployment of production-ready MCP servers, facilitating growth from experimentation to production applications.
Apr 27, 2026
918 words in the original blog post.
Retrieval-Augmented Generation (RAG) pipelines are transforming AI applications by allowing the retrieval of documents from a vector database to generate context-based responses. However, they face a significant challenge in maintaining document permissions, as these systems can inadvertently expose sensitive data due to the loss of original access controls when documents are converted to vectors. Traditional Role-Based Access Control (RBAC) is inadequate for dynamic and complex permission scenarios. This text discusses integrating Relationship-Based Access Control (ReBAC) using Descope into RAG pipelines to solve this problem by respecting document ownership, team membership, and sharing relationships. ReBAC allows for flexible permissions management by modeling real-world relationships and dynamically adjusting to organizational changes, ensuring that only authorized users can access sensitive information. This solution enhances security by conducting post-retrieval filtering, where Descope's authorization checks determine which documents a user can view, thereby preventing unauthorized data from reaching the language model. The integration with Descope also supports monitoring, auditing, and performance optimization, making it suitable for scalable and secure enterprise applications.
Apr 23, 2026
5,448 words in the original blog post.
The text discusses the intricacies of managing the authorization process within the Minimal Content Protocol (MCP) using Descope Flows, a visual, low/no-code workflow builder. It highlights the need for an orchestration layer to handle complex scenarios such as multi-tenant routing, scope-aware step-up multi-factor authentication (MFA), and the enrichment of JSON Web Token (JWT) claims with external data, which are not addressed by the MCP auth spec alone. Descope Flows provide a customizable consent experience, allowing users to understand and control the permissions granted to AI agents more effectively, while also managing Single Sign-On (SSO) and integrating with external APIs for enriched authorization decisions. By placing the orchestration logic in Descope Flows, developers can adapt to evolving MCP standards without redeploying server code, thus maintaining flexibility and control over the OAuth process.
Apr 21, 2026
2,355 words in the original blog post.
The text explores three frameworks—DeepEval, RAGAS, and LangSmith—used for evaluating Large Language Model (LLM) applications, particularly in Retrieval-Augmented Generation (RAG) systems. DeepEval adopts a testing-based approach akin to software engineering unit tests, allowing developers to define expected outputs and use metrics to ensure quality before changes are deployed. RAGAS offers a research-driven evaluation, focusing on RAG-specific metrics to diagnose retrieval versus generation issues, thus providing insights into where pipelines may falter. LangSmith integrates evaluation within a broader platform that includes tracing, debugging, and experiment tracking, offering comprehensive visibility into the execution path of LLM applications. Each framework has unique strengths: DeepEval is ideal for CI-driven regression checks, RAGAS excels in RAG optimization, and LangSmith offers robust debugging and production monitoring capabilities. The choice of framework largely depends on the team's workflow and specific technical requirements, with many teams opting to combine these tools for a more holistic approach to evaluation and debugging.
Apr 17, 2026
3,271 words in the original blog post.
The text provides a detailed comparison between two AI coding assistants, OpenAI's Codex and Anthropic's Claude Code, focusing on their performance in adding JWT authentication to a FastAPI application. Both tools are evaluated based on setup experience, code quality, security awareness, workflow feel, and the production-readiness of their output. Codex is noted for its speed and minimalism, often making assumptions without prompting, which can lead to issues like deprecated method usage. In contrast, Claude Code is described as more thorough and deliberate, planning before acting and offering comprehensive test coverage without explicit prompting. While Codex is more economical with token usage, Claude Code's attention to detail, including OAuth2 compliance and edge case testing, makes it preferable for projects requiring maintainability and correctness. The article concludes that both tools have their strengths and are suited to different coding scenarios, emphasizing the importance of reviewing AI-generated code carefully, especially in authentication tasks.
Apr 17, 2026
3,455 words in the original blog post.
Partner onboarding is crucial in B2B relationships but often becomes inefficient due to manual processes like SSO setup, which can extend from hours to weeks and impede business growth. Common issues include cumbersome SSO setups, time-consuming onboarding cycles, and a heavy reliance on engineering and IT teams, which results in delays and increased errors. The lack of standardized processes for each new partner leads to inconsistent experiences and scaling difficulties. Best practices to enhance partner onboarding emphasize self-service options, automated user management via SCIM, and allowing partners to handle their own administrative tasks, reducing the burden on internal teams. Descope offers solutions that streamline this process by providing self-service SSO, SCIM provisioning, and delegated admin tools, making onboarding faster and more scalable. This approach not only improves the partner experience but also aligns with compliance needs through consent management, ultimately transforming partner onboarding into a growth engine.
Apr 15, 2026
1,857 words in the original blog post.
Agentic commerce, a prominent AI topic in 2026, is revolutionizing how transactions are conducted by enabling AI agents to perform tasks like product discovery and checkout on behalf of users. This burgeoning field is supported by protocols such as the Agentic Commerce Protocol (ACP), Universal Commerce Protocol (UCP), and Agent Payments Protocol (AP2), each addressing unique aspects of the commerce process, from orchestration to authorization. ACP, backed by Stripe and OpenAI, utilizes Shared Payment Tokens to facilitate transactions while maintaining user privacy. UCP, developed by Google and Shopify among others, integrates existing retail structures to support a complete commerce lifecycle. AP2, focusing on proof of consent, employs cryptographic mandates to ensure user authorization. Meanwhile, x402 and Machine Payments Protocol (MPP) enable machine-to-machine payments using the HTTP 402 status code, with x402 being crypto-native and MPP supporting a wider range of payment methods through Stripe. These protocols operate within the Model Context Protocol (MCP) framework, which connects agents to commerce infrastructure, highlighting the critical role of identity verification and authentication in this ecosystem.
Apr 14, 2026
2,690 words in the original blog post.
Passkeys, built on FIDO2 and WebAuthn standards, offer a robust solution for preventing fraud by eliminating the vulnerabilities associated with traditional passwords and one-time passwords (OTPs), which are susceptible to phishing, breaches, and interception. By using public-key cryptography, passkeys ensure that private keys remain on the user's device, making them phishing-resistant and device-bound. This approach significantly enhances fraud prevention, particularly in scenarios like account takeover (ATO) fraud, by ensuring that sensitive actions such as financial transactions or freight rerouting are only authorized if a user completes passkey authentication on their registered device. The concept of step-up authentication further strengthens security by requiring additional verification for high-risk actions, ensuring that only the legitimate user on the correct device can authorize such actions. This method not only improves the user experience by reducing the need for app-based TOTPs or phone calls but also provides a powerful fraud control mechanism applicable across various industries.
Apr 08, 2026
1,815 words in the original blog post.
AI agent adoption is accelerating, presenting challenges for security and compliance teams to keep pace, especially with the increasing regulatory pressures from frameworks like the EU AI Act and OWASP Top 10 for Agentic Applications, which emphasize the need for human oversight, risk management, and auditability. Organizations must ensure that AI agents acting on sensitive data are subject to structured human evaluation and continuous improvement, with domain experts assessing outputs to identify gaps and risks. This process is supported by a dedicated AI agent performance management system that offers granular metrics and deterministic monitoring. Furthermore, agentic identity systems treat AI agents as first-class identities, governing access with ephemeral, scoped credentials and step-up authentication for sensitive operations, enabling comprehensive audit trails. These dual dimensions of expert evaluation and access governance form a unified audit that demonstrates compliance with standards, showcasing the AI system's development, deployment, and operational oversight, thereby transforming potential into reliable business impact.
Apr 07, 2026
1,358 words in the original blog post.
Descope has updated its pricing model for the Descope Agentic Identity Hub, introducing a more streamlined approach for machine-to-machine (M2M) authentication pricing while maintaining value for customers across all plans, including the Free Forever tier. The update emphasizes making essential M2M and agentic identity features accessible to all developers, with fees primarily for differentiated features that incur real operational costs. The new pricing structure includes units like Monthly Active Consents (MACs), Monthly Active Tokens (MATKs), and M2M Exchanges, each defined by specific interactions involving user consent, token retrieval, and token exchanges in M2M flows. The changes aim to accommodate the rapidly evolving agentic identity space, with the decision-making process involving input from the developer community to ensure clarity and value. Descope reaffirms its commitment to providing a secure and developer-friendly identity platform and invites customers to consult with their representatives for any questions related to potential overages or the updated pricing model.
Apr 03, 2026
1,500 words in the original blog post.
MCP servers are designed for single applications but face scalability challenges when connecting multiple B2B customers due to the need for individual credentials and consent screens. This complexity is compounded by MCP's use of OAuth 2.1, making multi-tenancy more intricate than traditional API scenarios. To address these issues, MCP gateway products like Descope's Agentic Identity Hub offer managed identity infrastructure that centralizes tenant configurations and policies. The guide discusses when an MCP gateway is necessary, exploring solutions such as single-server, per-tenant server, and gateway with identity provider models. It highlights how Descope supports MCP gateway implementations by managing authentication and authorization, and providing client registration and credential storage. Integration examples with Golf.dev show the practical application of these concepts, illustrating how Descope acts as an identity provider, enhancing the functionality of gateways like those offered by Kong and Traefik. While not all organizations need an MCP gateway, those with complex multi-tenant requirements benefit from the centralized control and identity management these solutions provide.
Apr 03, 2026
2,840 words in the original blog post.
Descope, in partnership with Hallucino-Gen Labs, has launched PromptAuth, an AI-powered password creation service using a proprietary Linguistic Oriented Large Language Model (LOLLM) to generate complex, memorable passwords that enhance security by reducing vulnerabilities to cyberattacks and human error. PromptAuth aims to revolutionize password management by eliminating the need for users to create passwords, thus tackling issues like password fatigue and password spraying. The service has received positive feedback from early adopters for its ability to create secure and unique passwords that are difficult to guess. This innovation is part of Descope's broader initiative to transform identity authentication, hinting at future developments like BorrowBody, which would involve AI agents using biometric data for app sign-ins.
Apr 01, 2026
653 words in the original blog post.