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
<PackageReference Include="Cirreum.Authentication.Oidc" Version="1.0.4" />
<PackageVersion Include="Cirreum.Authentication.Oidc" Version="1.0.4" />
<PackageReference Include="Cirreum.Authentication.Oidc" />
paket add Cirreum.Authentication.Oidc --version 1.0.4
#r "nuget: Cirreum.Authentication.Oidc, 1.0.4"
#:package Cirreum.Authentication.Oidc@1.0.4
#addin nuget:?package=Cirreum.Authentication.Oidc&version=1.0.4
#tool nuget:?package=Cirreum.Authentication.Oidc&version=1.0.4
Cirreum Authentication - OIDC
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 API —
AddJwtBearer(...)withAuthority+Audiencevalidation, JWKS auto-discovery - Web App —
AddOpenIdConnect(...)with Auth Code Flow + PKCE, cookie sign-in - Modern claim mapping —
roles+nameclaims (no legacy short-name → Microsoft URI mapping) - Scope enforcement —
RequiredScopeschecked againstscp/scopeclaims viaJwtBearerEvents.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 | 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. |
-
net10.0
- Cirreum.AuthenticationProvider (>= 1.2.1)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.9)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.9)
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.