Cirreum.Authentication.Oidc 1.0.4

dotnet add package Cirreum.Authentication.Oidc --version 1.0.4
                    
NuGet\Install-Package Cirreum.Authentication.Oidc -Version 1.0.4
                    
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="Cirreum.Authentication.Oidc" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cirreum.Authentication.Oidc" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Cirreum.Authentication.Oidc" />
                    
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 Cirreum.Authentication.Oidc --version 1.0.4
                    
#r "nuget: Cirreum.Authentication.Oidc, 1.0.4"
                    
#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 Cirreum.Authentication.Oidc@1.0.4
                    
#: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=Cirreum.Authentication.Oidc&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Cirreum.Authentication.Oidc&version=1.0.4
                    
Install as a Cake Tool

Cirreum Authentication - OIDC

NuGet Version License .NET

Generic OIDC authentication scheme for the Cirreum framework

Overview

Cirreum.Authentication.Oidc is the generic OIDC authentication scheme — validates JWTs from any OIDC-compliant issuer using standard AddJwtBearer (Web API) or AddOpenIdConnect (Web App), no vendor SDK. Suitable for Auth0, Okta, Ping, Descope, generic OIDC providers, and any IdP that publishes a .well-known/openid-configuration.

For Entra-specific integration, use Cirreum.Authentication.Entra which wraps Microsoft.Identity.Web.

Installation

dotnet add package Cirreum.Authentication.Oidc

Configuration

{
  "Cirreum": {
    "Authentication": {
      "Providers": {
        "Oidc": {
          "Instances": {
            "auth0": {
              "Enabled": true,
              "Authority": "https://myapp.auth0.com",
              "Audience": "https://api.myapp.com",
              "RequiredScopes": ["read:data", "write:data"]
            },
            "okta": {
              "Enabled": true,
              "Authority": "https://myapp.okta.com/oauth2/default",
              "Audience": "api://default"
            }
          }
        }
      }
    }
  }
}

What's wired

  • Web APIAddJwtBearer(...) with Authority + Audience validation, JWKS auto-discovery
  • Web AppAddOpenIdConnect(...) with Auth Code Flow + PKCE, cookie sign-in
  • Modern claim mappingroles + name claims (no legacy short-name → Microsoft URI mapping)
  • Scope enforcementRequiredScopes checked against scp / scope claims via JwtBearerEvents.OnTokenValidated
  • Configuration override — instance section bound to options; strongly-typed values re-pinned authoritatively

License

MIT — see LICENSE.


Cirreum Foundation Framework Layered simplicity for modern .NET

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 (1)

Showing the top 1 NuGet packages that depend on Cirreum.Authentication.Oidc:

Package Downloads
Cirreum.Runtime.Authentication

App-facing umbrella for the Authentication pillar. Provides AddAuthentication() and the CirreumAuthenticationBuilder type. Transitively references all six Cirreum.Authentication.* schemes (ApiKey, SignedRequest, SessionTicket, OIDC, Entra, External) — apps install this single package to get the full Authentication track.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 49 7/7/2026
1.0.3 101 7/6/2026
1.0.2 98 7/5/2026
1.0.1 110 7/4/2026
1.0.0 107 7/3/2026