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" />
<PackageReference Include="Incursa.Integrations.WorkOS.AspNetCore" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Incursa.Integrations.WorkOS.AspNetCore&version=6.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.AspNetCorefor provider-neutral request-time access context - use
Incursa.Integrations.WorkOS.Accesswhen 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:
- Explicit
current-session-idattribute IWorkOsCurrentSessionIdResolverfrom DI
The default resolver reads sid, session_id, and workos_session_id claims.
Security Notes
- prefer
no-storeresponses 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 | Versions 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.
-
net10.0
- Incursa.Integrations.WorkOS (>= 6.0.9)
- Incursa.Integrations.WorkOS.Abstractions (>= 6.0.9)
- Incursa.Integrations.WorkOS.Access (>= 6.0.9)
- Incursa.Platform.Access.AspNetCore (>= 6.0.5)
- Incursa.Platform.Access.Razor (>= 6.0.6)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.