<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Curity Code Examples</title>
    <link>https://curity.io</link>
    <description>Our code examples show how to secure access to your APIs, integrate OAuth flows into UIs, and extend the capabilities of the Curity Identity Server via plugins.</description>
    <lastBuildDate>Wed, 01 Apr 2026 14:40:12 GMT</lastBuildDate>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>GatsbyJS</generator>
    <copyright>All rights reserved 2026, @curityio</copyright>
    <item>
      <title>Backend Agent with A2A Authorization</title>
      <link>https://curity.io/resources/learn/backend-agent-a2a-authorization/</link>
      <guid>https://curity.io/resources/learn/backend-agent-a2a-authorization/</guid>
      <pubDate>Tue, 10 Mar 2026 00:00:00 GMT</pubDate>
      <content:encoded>The  enables A2A clients (like internet applications) to send natural language commands to A2A servers (API entry points). The A2A server can be a backend AI agent that integrates with a Large Language Model (LLM) from a cloud provider. The LLM can… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/backend-agent-a2a-authorization/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Idura Authenticator</title>
      <link>https://curity.io/resources/learn/idura-authenticator/</link>
      <guid>https://curity.io/resources/learn/idura-authenticator/</guid>
      <pubDate>Mon, 02 Mar 2026 00:00:00 GMT</pubDate>
      <content:encoded>This code example provides an Idura Authenticator plugin for the Curity Identity Server. It adds functionality to the Curity Identity Server that allows users to log in using an eID solution offered by Idura, like the Swedish or Norwegian BankID. The Curity Identity Server can be… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/idura-authenticator/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Secure an OpenAI ChatGPT App</title>
      <link>https://curity.io/resources/learn/chatgpt-widget-haapi/</link>
      <guid>https://curity.io/resources/learn/chatgpt-widget-haapi/</guid>
      <pubDate>Fri, 06 Feb 2026 00:00:00 GMT</pubDate>
      <content:encoded>The initial  code example demonstrates how to put together a working Model Context Protocol (MCP) authorization flow. As a result, AI agents can onboard and gain a restricted level of access to APIs. Users approve the AI agent's level of access, which… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/chatgpt-widget-haapi/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>AuthZEN Authorization Manager</title>
      <link>https://curity.io/resources/learn/authzen-authorization-manager/</link>
      <guid>https://curity.io/resources/learn/authzen-authorization-manager/</guid>
      <pubDate>Wed, 28 Jan 2026 00:00:00 GMT</pubDate>
      <content:encoded>The OpenID AuthZEN Working Group is standardizing fine-grained authorization and simplifying integration. Vendors have previously implemented their own protocols for client-to-server communication and especially the format of the request and response. The  standa… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/authzen-authorization-manager/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>OpenID AuthZEN Token Procedure</title>
      <link>https://curity.io/resources/learn/authzen-token-procedure/</link>
      <guid>https://curity.io/resources/learn/authzen-token-procedure/</guid>
      <pubDate>Wed, 28 Jan 2026 00:00:00 GMT</pubDate>
      <content:encoded>This example Token Procedure plugin implements an integration with . As part of the token issuance process, the token procedure only issues access tokens based on the authorization response from an external PDP. Installing the Plugin

Build the… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/authzen-token-procedure/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Implement MCP Authorization</title>
      <link>https://curity.io/resources/learn/implementing-mcp-authorization-apis/</link>
      <guid>https://curity.io/resources/learn/implementing-mcp-authorization-apis/</guid>
      <pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate>
      <content:encoded>The  draft specification enables an open ecosystem where AI agents securely connect to APIs using OAuth. The  article explains the security considerations when organizations expose sensitive API data to… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/implementing-mcp-authorization-apis/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Token Exchange With External IdP</title>
      <link>https://curity.io/resources/learn/external-idp-token-exchange/</link>
      <guid>https://curity.io/resources/learn/external-idp-token-exchange/</guid>
      <pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate>
      <content:encoded>A common use case is the need to exchange tokens issued by external or 3rd party IdP's for a token issued by the Curity Identity Server. There are several different scenarios that can drive this type of use case: A user authenticates with an external IdP and needs a Curity… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/external-idp-token-exchange/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>SAML 2.0 Website</title>
      <link>https://curity.io/resources/learn/saml-website/</link>
      <guid>https://curity.io/resources/learn/saml-website/</guid>
      <pubDate>Tue, 12 Aug 2025 00:00:00 GMT</pubDate>
      <content:encoded>The  tutorial explains how to configure the Curity Identity Server as a SAML Identity Provider. You can clone the… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/saml-website/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Javascript SPA using OAuth Assistant Library</title>
      <link>https://curity.io/resources/learn/oauth-assistant/</link>
      <guid>https://curity.io/resources/learn/oauth-assistant/</guid>
      <pubDate>Fri, 18 Jul 2025 00:00:00 GMT</pubDate>
      <content:encoded>Curity provides a JavaScript assistant for OAuth that supports the Assisted Token-, Implicit- and Code Flow as well as logout and session management. The… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/oauth-assistant/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Securing a .NET API with JWTs</title>
      <link>https://curity.io/resources/learn/dotnet-api/</link>
      <guid>https://curity.io/resources/learn/dotnet-api/</guid>
      <pubDate>Sun, 01 Jun 2025 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial explains how to secure API endpoints with access tokens in the JSON web token (JWT) format and implement claims-based authorization. The example API uses the  and . &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/dotnet-api/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Kotlin Android App using HAAPI</title>
      <link>https://curity.io/resources/learn/kotlin-android-haapi/</link>
      <guid>https://curity.io/resources/learn/kotlin-android-haapi/</guid>
      <pubDate>Mon, 14 Apr 2025 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial summarizes the behavior of a Kotlin app that implements OAuth 2.0 and OpenID Connect using the Hypermedia Authentication API (HAAPI). The flow is API-driven and enables a pure native login user experience, after which the app receives a correct access token with… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/kotlin-android-haapi/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Swift iOS App using HAAPI</title>
      <link>https://curity.io/resources/learn/swift-ios-haapi/</link>
      <guid>https://curity.io/resources/learn/swift-ios-haapi/</guid>
      <pubDate>Mon, 14 Apr 2025 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial summarizes the behavior of an iOS Swift app that implements OAuth 2.0 and OpenID Connect using the Hypermedia Authentication API (HAAPI). The flow is API-driven and enables a pure native login user experience, after which the app receives a correct access token… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/swift-ios-haapi/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>React Native App using HAAPI</title>
      <link>https://curity.io/resources/learn/reactnative-haapi/</link>
      <guid>https://curity.io/resources/learn/reactnative-haapi/</guid>
      <pubDate>Fri, 21 Feb 2025 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial shows how to run a code example that implements mobile OpenID Connect in a React Native App using the Hypermedia Authentication API (HAAPI). See also the  tutorial for an introductory guide to HAAPI that runs a simple web client. The code… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/reactnative-haapi/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Securing API Events using JWTs</title>
      <link>https://curity.io/resources/learn/securing-api-events-using-jwts/</link>
      <guid>https://curity.io/resources/learn/securing-api-events-using-jwts/</guid>
      <pubDate>Thu, 16 Jan 2025 00:00:00 GMT</pubDate>
      <content:encoded>Intro The  architecture article explains how to use token exchange to resume asynchronous flows while maintaining sensitive values in a digitally verifiable manner. This tutorial provides an example implementation that you can run end-to-end on a development… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/securing-api-events-using-jwts/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Exchange Opaque Token to JWT</title>
      <link>https://curity.io/resources/learn/token-exchange-opaque-to-jwt/</link>
      <guid>https://curity.io/resources/learn/token-exchange-opaque-to-jwt/</guid>
      <pubDate>Wed, 07 Aug 2024 00:00:00 GMT</pubDate>
      <content:encoded>This example presents a Token Procedure plugin that implements an exchange from an opaque token into a JWT. The OAuth Token Exchange token procedure is compliant with RFC 8693. Installing the Plugin

You can build the plugin by issuing the command mvn package. This will produce a… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/token-exchange-opaque-to-jwt/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>SPA using Token Handler</title>
      <link>https://curity.io/resources/learn/token-handler-spa-example/</link>
      <guid>https://curity.io/resources/learn/token-handler-spa-example/</guid>
      <pubDate>Fri, 14 Jun 2024 00:00:00 GMT</pubDate>
      <content:encoded>This code example explains the code you need to write in your single page application (SPA), to integrate with the . You then get… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/token-handler-spa-example/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Token Handler Deployment Example</title>
      <link>https://curity.io/resources/learn/token-handler-deployment-example/</link>
      <guid>https://curity.io/resources/learn/token-handler-deployment-example/</guid>
      <pubDate>Thu, 13 Jun 2024 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial explains how to run an SPA code example that uses token handler backend components, for an end-to-end security solution. Token handler components from Curity implement the difficult security. If you are new to the token handler pattern, start with the &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/token-handler-deployment-example/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>iProov Authentication Action</title>
      <link>https://curity.io/resources/learn/iproov-action/</link>
      <guid>https://curity.io/resources/learn/iproov-action/</guid>
      <pubDate>Thu, 28 Sep 2023 00:00:00 GMT</pubDate>
      <content:encoded>iProov’s Genuine Presence Assurance® technology provides an effortless and secure identity verification for user onboarding. This technology can be used to authenticate an already enrolled user. This Authentication Action is implemented in such a way that it is meant to be… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/iproov-action/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Microblink BlinkID Authentication Action</title>
      <link>https://curity.io/resources/learn/blink-id-scan-action/</link>
      <guid>https://curity.io/resources/learn/blink-id-scan-action/</guid>
      <pubDate>Fri, 30 Jun 2023 00:00:00 GMT</pubDate>
      <content:encoded>One form of Identity proofing is ID document scanning. This approach can be coupled with user authentication to further proof that the user is who they claim to be. This example authentication action can be coupled with any authenticator to perform a scan of a supported ID… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/blink-id-scan-action/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Choose Account Authentication Action</title>
      <link>https://curity.io/resources/learn/choose-account/</link>
      <guid>https://curity.io/resources/learn/choose-account/</guid>
      <pubDate>Wed, 17 May 2023 00:00:00 GMT</pubDate>
      <content:encoded>This tutorial describes an example implementation of an authentication action that allows the user to easily switch accounts that they previously logged in with. The action displays the user all the active Single-Sign On (SSO) sessions that they currently have in the Curity… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/choose-account/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Testing Zero Trust APIs</title>
      <link>https://curity.io/resources/learn/testing-zero-trust-apis/</link>
      <guid>https://curity.io/resources/learn/testing-zero-trust-apis/</guid>
      <pubDate>Thu, 11 May 2023 00:00:00 GMT</pubDate>
      <content:encoded>The article on  describes the main steps involved in using OAuth 2.0 to secure APIs and microservices. End-to-end flows that involve APIs often also involve a web or mobile client and a user. The client runs a  to sign the user in and get an… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/testing-zero-trust-apis/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Long-Lived Tokens on Refresh Procedure Plugin</title>
      <link>https://curity.io/resources/learn/long-lived-tokens-on-refresh/</link>
      <guid>https://curity.io/resources/learn/long-lived-tokens-on-refresh/</guid>
      <pubDate>Mon, 06 Mar 2023 00:00:00 GMT</pubDate>
      <content:encoded>This example presents a Token Procedure plugin that implements the refresh token procedure and adds the following features to the refresh token flow (at the token endpoint): If the request to the endpoint contains the query parameter long_lived_token with value set to true, then… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/long-lived-tokens-on-refresh/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Nonce Authenticator</title>
      <link>https://curity.io/resources/learn/nonce-authenticator/</link>
      <guid>https://curity.io/resources/learn/nonce-authenticator/</guid>
      <pubDate>Tue, 21 Feb 2023 00:00:00 GMT</pubDate>
      <content:encoded>An authenticator plug-in for the Curity Identity Server, to enable Single Sign-On (SSO) across applications, when SSO cookies cannot be used. See the  for architecture details, or get the code from the GitHub. &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/nonce-authenticator/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>Open Policy Agent Authorization Manager</title>
      <link>https://curity.io/resources/learn/opa-authorization-manager/</link>
      <guid>https://curity.io/resources/learn/opa-authorization-manager/</guid>
      <pubDate>Tue, 17 Jan 2023 00:00:00 GMT</pubDate>
      <content:encoded>As of version 7.3 of the Curity Identity Server it is possible to develop custom Authorization Manager plugins using the . An Authorization Manager can be configured to handle fine-grained access to several exposed APIs such as the GraphQL APIs for both user… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/opa-authorization-manager/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
    <item>
      <title>OpenID Connect Client with .NET</title>
      <link>https://curity.io/resources/learn/dotnet-openid-connect-website/</link>
      <guid>https://curity.io/resources/learn/dotnet-openid-connect-website/</guid>
      <pubDate>Wed, 11 Jan 2023 00:00:00 GMT</pubDate>
      <content:encoded>Overview  is the industry-standard protocol for modern authentication in web applications. OpenID Connect provides a flexible and secure way to authenticate users.

This code example covers how to integrate OpenID Connect into a .NET website. It shows how to… &lt;br/&gt;&lt;a href="https://curity.io/resources/learn/dotnet-openid-connect-website/"&gt;Read the full code example on curity.io&lt;/a&gt;</content:encoded>
    </item>
  </channel>
</rss>