Incursa.Integrations.WorkOS.AspNetCore 6.0.9

Prefix Reserved
dotnet add package Incursa.Integrations.WorkOS.AspNetCore --version 6.0.9
                    
NuGet\Install-Package Incursa.Integrations.WorkOS.AspNetCore -Version 6.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Incursa.Integrations.WorkOS.AspNetCore" Version="6.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Incursa.Integrations.WorkOS.AspNetCore" Version="6.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Incursa.Integrations.WorkOS.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Incursa.Integrations.WorkOS.AspNetCore --version 6.0.9
                    
#r "nuget: Incursa.Integrations.WorkOS.AspNetCore, 6.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Incursa.Integrations.WorkOS.AspNetCore@6.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Incursa.Integrations.WorkOS.AspNetCore&version=6.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Incursa.Integrations.WorkOS.AspNetCore&version=6.0.9
                    
Install as a Cake Tool

Incursa.Integrations.WorkOS.AspNetCore

Incursa.Integrations.WorkOS.AspNetCore is the layer 1 ASP.NET Core host package for the WorkOS family.

Use it when you need WorkOS-specific middleware, current-request integration, organization selection, or Razor widget hosting in an ASP.NET Core application.

What It Owns

  • ASP.NET Core middleware and DI registration for WorkOS-backed request handling
  • request principal enrichment and organization-context helpers
  • Razor tag helpers and asset helpers for WorkOS widgets
  • host-side security helpers for widget pages and related logging concerns

What It Does Not Own

  • the canonical access model or effective-access rules
  • the provider-neutral ASP.NET Core access context surface
  • provider-neutral webhook ingestion

Relationship To Other Packages

  • use Incursa.Platform.Access.AspNetCore for provider-neutral request-time access context
  • use Incursa.Integrations.WorkOS.Access when WorkOS organizations and memberships need to flow into the access capability
  • use this package for the remaining vendor-specific ASP.NET Core behavior that should stay WorkOS-shaped

Install

dotnet add package Incursa.Integrations.WorkOS.AspNetCore

Widgets

Detailed widget handoff notes live in:

  • docs/50-runbooks/workos-widgets-integration-handoff.md

Register services:

using Incursa.Integrations.WorkOS;
using Incursa.Integrations.WorkOS.Abstractions.Widgets;

builder.Services.AddWorkOsWidgets(options =>
{
    builder.Configuration.GetSection("WorkOS:Widgets").Bind(options);
});

builder.Services.AddScoped<IWorkOsWidgetIdentityResolver, YourWidgetIdentityResolver>();

Add tag helpers:

@addTagHelper *, Incursa.Integrations.WorkOS.AspNetCore

Session Resolution

workos-user-sessions resolves current-session-id in this order:

  1. Explicit current-session-id attribute
  2. IWorkOsCurrentSessionIdResolver from DI

The default resolver reads sid, session_id, and workos_session_id claims.

Security Notes

  • prefer no-store responses for pages that host inline widget tokens
  • apply an explicit CSP suitable for the widgets you enable
  • redact JWT-like payloads before logging raw widget configuration or HTML

Target Framework

  • net10.0
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.9 113 3/26/2026
6.0.4 103 3/12/2026
6.0.3 85 3/10/2026
6.0.1 87 3/10/2026