![]() |
VOOZH | about |
dotnet add package Franz.Common.SSO --version 2.2.7
NuGet\Install-Package Franz.Common.SSO -Version 2.2.7
<PackageReference Include="Franz.Common.SSO" Version="2.2.7" />
<PackageVersion Include="Franz.Common.SSO" Version="2.2.7" />Directory.Packages.props
<PackageReference Include="Franz.Common.SSO" />Project file
paket add Franz.Common.SSO --version 2.2.7
#r "nuget: Franz.Common.SSO, 2.2.7"
#:package Franz.Common.SSO@2.2.7
#addin nuget:?package=Franz.Common.SSO&version=2.2.7Install as a Cake Addin
#tool nuget:?package=Franz.Common.SSO&version=2.2.7Install as a Cake Tool
A library within the Franz Framework that provides streamlined support for Single Sign-On (SSO) in ASP.NET Core applications.
This package unifies configuration and registration of multiple SSO providers into a single, consistent bootstrapping mechanism, while normalizing all claims into a unified FranzIdentityContext.
Centralized SSO Bootstrapping
AddFranzSsoIdentity(configuration)appsettings.jsonSupported Providers
Claims Normalization
Maps provider-specific claims (Azure AD, Keycloak, SAML attributes, etc.)
Produces a unified FranzIdentityContext with:
UserId, Email, FullNameRolesTenantId, DomainIdStructured Logging
ILogger<T>Configuration-Driven
From your private Azure feed:
dotnet nuget add source "https://your-private-feed-url" \
--name "AzurePrivateFeed" \
--username "YourAzureUsername" \
--password "YourAzurePassword" \
--store-password-in-clear-text
dotnet add package Franz.Common.SSO
{
"FranzIdentity": {
"AllowMultipleInteractiveProviders": false,
"WsFederation": {
"Enabled": false,
"MetadataAddress": "https://login.microsoftonline.com/...",
"Wtrealm": "https://your-app"
},
"Saml2": {
"Enabled": false,
"IdpMetadata": "https://idp.example.com/metadata",
"EntityId": "https://your-app"
},
"Oidc": {
"Enabled": true,
"Authority": "https://login.microsoftonline.com/{tenantId}/v2.0",
"ClientId": "your-client-id",
"ClientSecret": "your-client-secret"
},
"Keycloak": {
"Enabled": false,
"Authority": "https://keycloak.example.com/realms/yourrealm",
"ClientId": "your-client-id",
"ClientSecret": "your-client-secret"
},
"Jwt": {
"Enabled": true,
"Authority": "https://login.microsoftonline.com/{tenantId}/v2.0",
"Audience": "api://your-api"
}
}
}
using Franz.Common.SSO.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add Franz SSO Identity
builder.Services.AddFranzSsoIdentity(builder.Configuration);
var app = builder.Build();
app.UseAuthentication();
app.UseAuthorization();
app.MapGet("/whoami", (IIdentityContextAccessor accessor) =>
{
var identity = accessor.GetCurrentIdentity();
return Results.Json(identity);
});
app.Run();
var identity = _accessor.GetCurrentIdentity();
Console.WriteLine($"User: {identity.FullName}, Tenant: {identity.TenantId}, Roles: {string.Join(", ", identity.Roles)}");
Complete SSO overhaul
GenericSSOManager/GenericSSOProviderFranzSsoSettings for unified config bindingAddFranzSsoIdentity() bootstrap extensionFranzIdentityContextFranzSsoStartupFilterISsoProvider for custom SSO provider implementationGenericSSOProvider and GenericSSOManager for generic workflowsSsoServiceRegistration for streamlined configuration⚡ With v1.6.2, Franz.Common.SSO is now a unified, production-ready SSO abstraction for all supported protocols.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.7 | 101 | 6/7/2026 |
| 2.2.6 | 101 | 6/6/2026 |
| 2.2.5 | 100 | 6/4/2026 |
| 2.2.4 | 96 | 6/3/2026 |
| 2.2.3 | 94 | 6/2/2026 |
| 2.2.2 | 99 | 6/2/2026 |
| 2.2.1 | 95 | 5/24/2026 |
| 2.1.4 | 107 | 4/27/2026 |
| 2.1.3 | 101 | 4/26/2026 |
| 2.1.2 | 103 | 4/26/2026 |
| 2.1.1 | 108 | 4/22/2026 |
| 2.0.2 | 119 | 3/30/2026 |
| 2.0.1 | 110 | 3/29/2026 |
| 1.7.8 | 118 | 3/2/2026 |
| 1.7.7 | 125 | 1/31/2026 |
| 1.7.6 | 120 | 1/22/2026 |
| 1.7.5 | 125 | 1/10/2026 |
| 1.7.4 | 120 | 12/27/2025 |
| 1.7.3 | 206 | 12/22/2025 |
| 1.7.2 | 197 | 12/21/2025 |