Secure by default
PKCE, single-use sign-in transactions, HTTPS-only cookies and rate-limited endpoints.
Identity
A complete sign-in authority on Cosmos DB, Azure Storage and Key Vault, added to an Aspire AppHost with one call.
PKCE, single-use sign-in transactions, HTTPS-only cookies and rate-limited endpoints.
Microsoft Entra ID, Google, Facebook, X, WhatsApp codes, email codes and passwords.
Production signing keys are non-exportable in Azure Key Vault or Managed HSM.
Start with the CloudLogin developer workshop to try features, copy code, and read the integration guides in one place. Every example has View, Code, and Instructions tabs.
Authentication, account, profile, and coordinated-session packages for .NET 11, Blazor, and .NET MAUI.
CloudLogin is secure by default: HTTPS-only cookies, authenticated single-use sign-in transactions with PKCE and no origin allowlists for applications, encrypted authentication tickets and return state, rate-limited authentication endpoints, protected profile mutations, modern password hashing, and coordinated authority logout are enabled by the standard registration methods.
The demo/ folder has three runnable apps you can dotnet run with zero
setup - no Cosmos DB, no OAuth secrets, no SMTP server - covering the standalone authority,
consumer-website integration, and embedded-host integration. See demo/README.md
for ports and how to sign in.
| Package | Version | Downloads | Use |
|---|---|---|---|
AngryMonkey.CloudLogin.Web |
Standalone CloudLogin website | ||
AngryMonkey.CloudLogin.Server |
Consumer website or embedded server integration | ||
AngryMonkey.CloudLogin.API |
HTTP endpoints exposing the server over CloudLogin.Client |
||
AngryMonkey.CloudLogin.Maui |
Native .NET MAUI authentication | ||
AngryMonkey.CloudLogin |
Blazor routing/layout shared by CloudLogin.Maui and other Blazor-hybrid hosts |
||
AngryMonkey.CloudLogin.Components |
The login/account/profile Blazor UI itself | ||
AngryMonkey.CloudLogin.WebAssembly |
WebAssembly runtime used by the standalone UI package | ||
AngryMonkey.CloudLogin.Client |
Typed CloudLogin HTTP client | ||
AngryMonkey.CloudLogin.Contracts |
Shared models and URL contracts | ||
AngryMonkey.CloudLogin.Aspire.Hosting |
AppHost-side: adds CloudLogin to a .NET Aspire distributed application | ||
AngryMonkey.CloudLogin.Aspire |
Server-side: binds the config an Aspire AppHost wires (see Aspire integration) |
CloudLogin is organized into a few clear layers:
AngryMonkey.CloudLogin.Contracts): shared DTOs, request/response models, provider definitions, and routing helpers.AngryMonkey.CloudLogin.Server + AngryMonkey.CloudLogin.API): authentication orchestration, provider wiring, account/user/request endpoints, and security enforcement.AngryMonkey.CloudLogin.Web, AngryMonkey.CloudLogin.Components, AngryMonkey.CloudLogin.WebAssembly): standalone Blazor UI and account/login component experience.AngryMonkey.CloudLogin.Server package usage in external apps): redirects to authority, callback handling, local cookie issuance, coordinated logout.AngryMonkey.CloudLogin.Maui): MAUI-native login initiation, callback handling, and secure local session storage.AngryMonkey.CloudLogin.Client): typed API access for programmatic interactions.Relationship map:
CloudLogin.Web hosts the authority UI and composes CloudLogin.Components + CloudLogin.WebAssembly.CloudLogin.Server depends on contract models and configures provider authentication plus security policies.CloudLogin.API exposes HTTP endpoints that call into ICloudLogin/server services.CloudLogin.Client consumes the API surface using the same models from CloudLogin.Contracts.Integration patterns:
AddCloudLoginServer("https://login.example.com").AddMauiCloudLogin(...) and authority callback scheme allowlist. MAUI apps sign in through their own backend with Authorization Code + PKCE and a one-time handoff over the custom scheme; see docs/sign-in-and-logout.md, "Native applications".The complete setup is configuration plus one run call:
using AngryMonkey.CloudLogin.Server;
using AngryMonkey.CloudLogin.Sever.Providers;
var builder = WebApplication.CreateBuilder(args);
builder.AddCloudLoginWeb(options =>
{
options.Cosmos = new(builder.Configuration.GetSection("Cosmos"));
options.AzureStorage = new(builder.Configuration.GetSection("Storage"));
options.Workspace = new WorkspaceConfiguration();
options.Providers =
[
new LoginProviders.GoogleProviderConfiguration(
builder.Configuration.GetSection("Google"))
];
// Optional UI customization.
options.PrimaryColor = "#0078D4"; // Defaults to blue when omitted.
options.WebConfig = web => web.PageDefaults.SetTitle("Company Login");
});
await CloudLoginWeb.InitApp(builder);
The workspace account feature is opt-in. Adding the configuration enables its account navigation item, page, and API; omitting it keeps that complete feature surface disabled. Commercial features (subscriptions, orders, payments) live in the owning applications, never in CloudLogin.
WorkspaceConfiguration caps how many workspaces one user may accumulate. Both
caps are optional: leave them unset and CloudLogin applies its defaults.
options.Workspace = new WorkspaceConfiguration
{
// How many workspaces one user may create and own. Default: 3.
MaxOwnedPerUser = 5,
// How many workspaces one user may belong to in total, owned ones
// included. Default: 10.
MaxPerUser = 20
};
WorkspaceLimits.Unlimited to remove it.MaxOwnedPerUser = 0 to stop users creating workspaces entirely while still
letting them be invited into ones an administrator provisions.MaxPerUser below MaxOwnedPerUser wins, since every owned workspace is also a
membership.Creating past the cap throws WorkspaceLimitReachedException, which the account API
returns as 409 Conflict with the reason in the ProblemDetails detail. The account page
reads the user's current standing from GetMyWorkspaceQuota() and shows it as two
meters, so the limit is visible before it's hit rather than only when a create is refused.
"Workspace" is deliberately generic: it's the internal name for the concept everywhere
in code, API routes, JSON, and webhook events, so it stays stable across every product
that embeds CloudLogin. What end users actually see is configurable per deployment via
SingularLabel/PluralLabel:
options.Workspace = new WorkspaceConfiguration
{
SingularLabel = "Organization",
PluralLabel = "Organizations"
// Or "Business"/"Businesses", "Team"/"Teams", whatever the concept is
// called in your product. Defaults to "Workspace"/"Workspaces".
};
The account UI reads these labels everywhere it names the concept: field labels,
buttons, dialog titles, and messages like WorkspaceLimitReachedException's. Routes,
JSON property names, and webhook event names (Workspace.Created, Workspace.Updated, …)
are unaffected; only the label a user reads changes.
A user switches workspace from the account rail: their personal account, or any
workspace they belong to. Inside a workspace the same account page shows that
workspace's information, billing-contact information, and members, each scoped to the
workspace instead of the user. GetWorkspaceDetail(id)
returns all of it in one call and answers null for non-members, so an identifier alone
never reveals someone else's workspace.
Reading a workspace's detail requires membership; editing its profile requires its
owner or a member holding the Admin role. Deleting it
requires the owner.
Deleting a workspace removes its memberships and invitations in one operation and
publishes Workspace.Deleted. GetDeletionReportAsync returns ahead of time the
other-member count the account page shows in its confirmation; since no commercial
records live in CloudLogin, nothing here blocks deletion. Custom
ICloudLoginAccountStore implementations written before deletion existed keep
compiling: the removal members carry default implementations that report the store
does not support deletion. Implement them to let owners delete their workspaces.
Register the redirect/cookie integration and the confidential token exchange:
builder.Services.AddCloudLoginServer("https://login.example.com");
builder.AddCloudLoginTokenAuthentication();
Configuration supplies the authority, the name the application gives itself (client id and
audience), and a secret key. Nothing is registered at the authority: any active key works for
any name, and the application appears in the admin console the first time it signs someone in.
The key is either declared by the deployment (CloudLoginTokens:SecretKeys:N on the authority)
or created in the admin console's Secret keys tab:
{
"CloudLogin": {
"Authority": "https://login.example.com",
"Audience": "portal",
"ClientId": "portal",
"ClientSecret": "<secret key from protected configuration>"
}
}
When Aspire wires a CloudLogin reference, these values are injected automatically. Never
send the secret key to browser or WebAssembly code. A website without a backend or a native app
uses no key: it signs in through GET /CloudLogin/Authorize with PKCE, is identified by its own
origin, and its tokens are valid only there. See docs/sign-in-and-logout.md.
Use the standard ASP.NET Core pipeline:
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
The consumer callback state is encrypted and integrity-protected with ASP.NET Core Data Protection. Logout clears both the consumer cookie and the CloudLogin authority session before returning to the website.
builder.Services.AddCloudLoginEmbedded(loginOptions, builder.Configuration);
var app = builder.Build();
app.UseHttpsRedirection();
app.UseRouting();
app.UseCloudLoginSecurity();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
UseCloudLoginSecurity enables authentication rate limiting, secure response headers, sensitive-response no-store headers, and same-origin checks for state-changing browser requests.
builder.AddMauiCloudLogin(
"https://login.example.com",
"myapp");
Add the same scheme with AllowMobileApp("myapp") on the authority. CloudLogin handles the platform callback, stores the local session in MAUI SecureStorage, and uses the system authentication browser. Logout clears both local secure storage and the authority browser session. An interrupted authority logout is retried before the next login.
AngryMonkey.CloudLogin.Aspire.Hosting adds CloudLogin to a .NET Aspire AppHost as an ordinary
project resource, with every other resource in the model able to sign in against it through one
call:
using AngryMonkey.CloudLogin.Aspire.Hosting;
var builder = DistributedApplication.CreateBuilder(args);
// A generated login project, with no login project in the solution:
var login = builder.AddCloudLoginProject(configuration => configuration.Title = "My Login");
// ...or the application's own CloudLogin server project:
var login = builder.AddCloudLogin<Projects.My_Login>("login");
// ...or an already-deployed authority, reached by URL:
var login = builder.AddCloudLogin("login", "https://login.example.com");
// Connect any project: sets LoginUrl and the client configuration, waits for an authority in
// the AppHost in run mode, and gives a website with a backend its secret key.
var web = builder.AddProject<Projects.Web>("web").WithReference(login);
// A website without a backend, or a native app: no secret, identified by its own origin.
var spa = builder.AddProject<Projects.Spa>("spa").WithReference(login, o => o.IsPublic = true);
WithReference writes nothing per application to the authority. The AppHost generates one
secret key, gives it to every website with a backend that references the authority, and declares
it to the authority once as CloudLoginTokens:SecretKeys:0. For an authority reached by URL, an
administrator creates a key in that authority's admin console and supplies it as the
{authority}-secret-key parameter. See docs/admin-portal.md.
AddCloudLoginProject writes a complete CloudLogin website project under the AppHost's obj
folder on every start and adds it as an ordinary project resource: dotnet run builds it, the
dashboard shows it as login, and a deployment tool publishes it like any project it can see.
Nothing is added to the solution. Visual Studio launches it as a plain process rather than through
the debugger, since the IDE can only launch projects that are part of the open solution. The
project references CloudLogin from NuGet at the same version as the hosting package, or from
source when the AppHost takes the hosting package as a project reference.
var login = builder.AddCloudLoginProject("login", configuration =>
{
configuration.Title = "My Login";
configuration.AllowMobileApp("myapp");
}, project =>
{
// Fixed local ports, so sign-in providers can be registered against them.
project.HttpsPort = 7116;
project.HttpPort = 5045;
// A folder served as the site's web root: put logo.svg here for the account page.
project.WebRootPath = "login";
});
Verification-code emails are sent through CoconutSharp Communications when the resource
references a CoconutSharp Entra registration configured with WithMail(...); without one, the
code provider reports that email is not configured.
A server that also reads CloudLogin-owned records directly - CDM's external data provider, for
example - additionally calls WithServiceAccess(login): that channel bypasses user identity, so
it is its own call rather than a flag on WithReference, granted only to the servers that need it.
On the server side, AngryMonkey.CloudLogin.Aspire is what a CloudLogin server hosted under Aspire
uses to configure itself from what the AppHost wired, instead of repeating Cosmos/Storage
connection details in its own appsettings.json:
using AngryMonkey.CloudLogin.Aspire;
CloudLoginWebConfiguration configuration = new();
configuration.BindAspireResources(builder);
The same configuration keys work with no AppHost anywhere in the picture - an appsettings.json,
a user secret, an environment variable set by hand - so a CloudLogin server stays runnable outside
Aspire too. CoconutSharp builds on this
package for environment-aware publishing (naming, identity, App Service targets per Dev/Staging/
Production) without changing how CloudLogin itself is configured.
A host using CloudLogin.Aspire can reference CoconutSharp Azure Maps to supply Maps:AzureSubscriptionKey. Hosts configuring CloudLogin directly can set CloudLoginWebConfiguration.MapsSubscriptionKey. Sign-in history then offers authenticated static map previews. The key stays on the server; valid coordinates always link to Google Maps, including when a preview fails.
Security initially shows three devices and three sign-in activities. View more expands activity history or opens the Devices section. Device rows include platform SVGs and group repeated sign-ins using a protected, persistent browser-profile cookie. Application sessions inherit that identity and are revoked together when a device is signed out. Older sessions without this identifier remain separate; different browser profiles and cleared cookies also create separate entries.
CloudLogin includes:
AngryMonkey.CloudLogin.Web) with built-in login and account UI.AngryMonkey.CloudLogin.Server) with secure login, callback, profile redirect, and coordinated logout endpoints.AngryMonkey.CloudLogin.Maui) with mobile callback scheme support.AngryMonkey.CloudLogin.Aspire.Hosting + AngryMonkey.CloudLogin.Aspire) for AppHost composition and configuration binding - see Aspire integration.AngryMonkey.CloudLogin.Components + AngryMonkey.CloudLogin.WebAssembly) for login and account flows.CloudLogin provider configurations are defined in AngryMonkey.CloudLogin.Sever.Providers.LoginProviders (and LoginTestProviders):
| Provider | Configuration type | External IdP | Handles | Typical use |
|---|---|---|---|---|
| Password | PasswordProviderConfiguration |
No | Email/password | Primary username+password sign-in |
| Code (OTP) | CodeProviderConfiguration |
No | Email verification code | Passwordless/verification-code flow |
| Microsoft | MicrosoftProviderConfiguration |
Yes | OAuth/OIDC + email claims | Microsoft Entra Id / Microsoft account sign-in |
GoogleProviderConfiguration |
Yes | OAuth + profile claims | Google account sign-in | |
FacebookProviderConfiguration |
Yes | OAuth + profile claims | Facebook account sign-in | |
TwitterProviderConfiguration |
Yes | OAuth | X/Twitter account sign-in | |
WhatsAppProviderConfiguration |
No (custom transport) | Phone + verification code send path | Phone-based code delivery | |
| Test Mode | LoginTestProviders.TestModeConfiguration |
No | Internal test identities | Integration/UAT test sign-in |
Example mixed provider registration:
builder.AddCloudLoginWeb(options =>
{
options.Cosmos = new(builder.Configuration.GetSection("Cosmos"));
options.AzureStorage = new(builder.Configuration.GetSection("Storage"));
options.Providers =
[
new LoginProviders.PasswordProviderConfiguration(builder.Configuration.GetSection("Password")),
new LoginProviders.CodeProviderConfiguration(builder.Configuration.GetSection("Code")),
new LoginProviders.GoogleProviderConfiguration(builder.Configuration.GetSection("Google")),
new LoginProviders.MicrosoftProviderConfiguration(builder.Configuration.GetSection("Microsoft")),
new LoginProviders.FacebookProviderConfiguration(builder.Configuration.GetSection("Facebook")),
new LoginProviders.TwitterProviderConfiguration(builder.Configuration.GetSection("Twitter")),
new LoginProviders.WhatsAppProviderConfiguration(builder.Configuration.GetSection("WhatsApp")),
new LoginTestProviders.TestModeConfiguration(builder.Configuration.GetSection("TestMode"))
];
});
Minimal configuration template (fill only sections for enabled features/providers):
{
"Cosmos": {
"ConnectionString": "<cosmos-connection-string>",
"DatabaseId": "CloudLogin",
"ContainerId": "Users"
},
"Storage": {
"ConnectionString": "<storage-connection-string>",
"PublicBaseUrl": "https://<account>.blob.core.windows.net/<container>"
},
"Google": {
"ClientId": "<google-client-id>",
"ClientSecret": "<google-client-secret>",
"Label": "Google"
},
"Microsoft": {
"ClientId": "<microsoft-client-id>",
"ClientSecret": "<microsoft-client-secret>",
"TenantId": "common",
"Label": "Microsoft"
},
"Facebook": {
"ClientId": "<facebook-client-id>",
"ClientSecret": "<facebook-client-secret>",
"Label": "Facebook"
},
"Twitter": {
"ClientId": "<twitter-api-key>",
"ClientSecret": "<twitter-api-secret>",
"Label": "Twitter"
},
"WhatsApp": {
"RequestUri": "<provider-request-uri>",
"Authorization": "<auth-header-value>",
"Template": "<message-template>",
"Language": "en",
"Label": "WhatsApp"
},
"TestMode": {
"IsEnabled": false,
"Label": "Test Mode"
}
}
CloudLogin's Cosmos DB, Table Storage, and Blob Storage documents are documented in docs/architecture-core.md.
CloudLogin has one API and one seven-container storage model:
Login database.(issuer, subject) provider identities with create-only inserts./api/v3; storage documents and credentials never cross the transport boundary.?profile=tv) restrict entry and authorization methods per client, bound tamper-proof into the flow. See docs/signin-profiles.md.docs/device-authorization.md.docs/admin-portal.md and docs/sign-in-and-logout.md; it adds two containers, Applications and SecretKeys.Consumer-site endpoints from AuthController:
GET /auth/login?returnUrl=/path - start login at CloudLogin authority.GET /auth/callback - login callback that creates the local auth cookie.GET /auth/profile?returnUrl=/path - redirect authenticated user to authority account page.GET /auth/profileCallback - returns to local application from account flow.GET|POST /auth/logout?returnUrl=/ - coordinated logout (consumer + authority).Authority/API endpoints (selected):
GET /CloudLogin/Login/{identity} - begin provider flow.GET /CloudLogin/Result - OAuth/OIDC callback target.GET /CloudLogin/Login/Complete - build completion redirect.GET /CloudLogin/Logout - authority logout endpoint. Redirects only to a destination named by an authenticated logout transaction; a bare cross-site request ends nothing.GET /api/Providers - list available providers for UI.GET /CloudLogin/User/GetUserByInput - public account discovery (rate-limited, transport-safe).POST /CloudLogin/User/Update - authenticated profile update with server-side field protections.POST /CloudLogin/User/UploadProfilePicture - authenticated profile image upload.POST /CloudLogin/Token/Code, Refresh, Exchange, Revoke, SessionStatus - redeem a PKCE-bound code, rotate and re-check a refresh token, exchange for a downstream audience, end a session (owner only), and ask whether a session is still active. A website with a backend authenticates with HTTP Basic name:secretKey; a website without a backend or a native app passes its origin (or scheme) as client_id.POST /CloudLogin/Token/FromRequest - legacy single-use request-id exchange, refused unless AllowLegacyRedirectHandoff is enabled.POST /CloudLogin/Authorize/Begin, GET /CloudLogin/Authorize, POST /CloudLogin/Authorize/Logout - an application states where one sign-in or logout returns to and gets an opaque cltx: reference; see docs/sign-in-and-logout.md.POST /auth/backchannel-logout (on each application) - receives signed logout+jwt notifications so one sign-out ends the session everywhere.GET|POST|PATCH|PUT|DELETE /api/v3/admin/* - the admin control plane, gated per permission by administrator role.CloudLogin:PublicUrl, its secret key (websites with a backend), and a shared IDistributedCache when it runs several instances. Static origin allowlists are only for the legacy hand-off./CloudLogin/Result) in external IdP configuration.AllowMobileApp on authority.Secure, HttpOnly, SameSite=Lax, Path=/, and the browser-enforced __Host- prefix.no-store responses and deny framing.Customize only when required:
builder.AddCloudLoginWeb(options =>
{
options.AllowWebsite("https://app.example.com");
options.Security.MinimumPasswordLength = 15;
options.Security.AuthenticationPermitLimit = 5;
options.Security.PasswordBlocklist.Add("company-name-2026");
// Only needed when copying provider avatars into your own storage.
options.Security.AllowedProfileImageHosts.Add("lh3.googleusercontent.com");
});
Security controls cannot be weakened below the enforced production minimums. Test mode
is disabled by default and is enabled in any environment only when its provider has
IsEnabled set to true. The deprecated browser-managed verification-code flow still
fails startup when explicitly configured because it cannot be made safe for production.
Production warning: Test Mode deliberately signs in selected test accounts without external identity verification. When enabling it in Production, restrict access to the login deployment with network, gateway, or equivalent access controls and ensure test accounts have only the permissions required for testing.
ASP.NET Core encrypts CloudLogin cookies and return state with Data Protection. A multi-instance deployment must persist its Data Protection key ring in a shared protected store. Configure this in the host before CloudLogin registration, for example with Azure Blob Storage plus Key Vault, Redis, or another supported shared key-ring provider.
builder.Services
.AddDataProtection()
.SetApplicationName("Company.CloudLogin");
// Add the persistence and key-encryption provider used by your platform.
Operational requirements:
appsettings.json.An IIS 500.30 response means the application failed before it could serve its normal
error page. Check Windows Event Viewer first. For a short diagnostic window, enable the
ASP.NET Core Module stdout log in the published web.config and ensure the application
pool identity can write to the selected folder:
<aspNetCore processPath="dotnet"
arguments=".\Your.Login.dll"
stdoutLogEnabled="true"
stdoutLogFile=".\logs\stdout"
hostingModel="inprocess" />
Disable stdout logging again after capturing the startup exception; logs can grow without limit and may contain deployment details. An enabled test-mode provider is supported in Development, Staging, and Production and no longer causes a startup failure.
The secure defaults intentionally tighten previous behavior:
__Host-CloudLogin and __Host-CloudLogin.Consumer; existing sessions will sign in again once.BaseAddress. Prefer coordinated login/logout. If a shared cookie is explicitly required, set CookieDomain and use a cookie name without the __Host- prefix after completing a subdomain threat review.These controls provide a strong framework baseline, not automatic regulatory certification. Enterprise deployment still requires threat modeling, dependency and secret scanning, infrastructure hardening, centralized audit logging, incident response, penetration testing, privacy review, and controls appropriate to the required assurance level.
CloudLogin is part of the Angry Monkey Cloud ecosystem and is licensed under the MIT License.
CloudLogin remains authoritative for identity, users, workspaces, memberships, and permissions. Applications such as CDM consume those entities through the authenticated service API and retain only their own application data plus stable CloudLogin identifiers.
The service API exposes Workspace, User, and Workspace-member reads for trusted server applications. Service keys belong on the server and must never be sent to WebAssembly or browser code.
The account page is real, path-based routing rather than a client-side tab switch: /Account/Profile, /Account/Security, and /Account/Workspace/{workspaceId} are each a distinct, refreshable, bookmarkable URL. A workspace isn't a tab in the personal account. It's a separate workspace with its own information and members, reached through the account switcher in the rail; moving into or out of one is a full navigation, the same as switching accounts. Older integrations that built links with ?Section= and ?EntityId= (including Section=Workspaces) continue to work (CloudLogin translates them to the equivalent path on first load), but new integrations should link to the path directly. A host that mounts the account page somewhere other than /Account passes that path once via AccountPageComponent.BasePath.
Webhook delivery is application-neutral. Configure registrations on CloudLoginWebConfiguration.Webhooks:
new CloudLoginWebhookRegistration
{
Application = "CDM",
Url = new Uri("https://cdm.example/api/cloudlogin/webhook"),
Secret = "<at least 32 characters>",
Events =
[
"User.Updated",
"Workspace.Updated",
"Workspace.Deleted"
]
}
An empty event set subscribes to every published event. Production webhook URLs must use HTTPS. Development HTTP endpoints are accepted only for local development. Configuration validation rejects missing application names, invalid URLs, short secrets, and blank event names.
CloudLogin mutation services publish a CloudLoginEvent through ICloudLoginEventPublisher after successful User, Workspace, membership, and invitation persistence. Current events include User.Created, User.Updated, User.Deleted, Workspace.Created, Workspace.Updated, Workspace.MembershipUpdated, Workspace.InvitationCreated, and Workspace.Deleted. This remains application-neutral so CDM, Coverbox, Melon Cut, or any future application can consume the same stream. Events contain EventId, EventType, EntityType, EntityId, Timestamp, Version, Operation, and a JSON Payload.
Delivery signs the exact JSON body with HMAC-SHA256 and sends:
X-CloudLogin-Event-IdX-CloudLogin-TimestampX-CloudLogin-Signature: sha256=<hex digest>Consumers must validate the signature against their registration secret, reject stale timestamps according to their security policy, and store successful event IDs for idempotency. CloudLoginWebhookPublisher.Verify provides constant-time signature comparison. Delivery retries transient failures four times with bounded backoff and reports a terminal error instead of using fire-and-forget delivery.
CloudLogin never creates application records in response to its own events. A consumer decides whether a linked record exists, which configured fields it synchronizes, and how it records delivery or synchronization errors. In particular, CDM only updates already-linked records and does not create a Business or Contact merely because CloudLogin emits an event.
The initial native CDM mappings are Business ↔ Workspace and Contact ↔ User. CDM can operate in a CloudLogin read-only view mode or a combined CloudLogin + CDM mode. CloudLogin-created lifecycle timestamps remain distinct from CDM's link time and actor. Manual Sync and record-specific Open in CloudLogin actions are provided by CDM's generic external-provider runtime.
UI visuals consume CloudCommon --amc-* tokens. Library overrides use --cloudlogin-*. Load ThemeCss.ExportDocument(theme) or render CloudThemeDocument in the document head; set html data-amc-theme to light, dark or system. Use CloudThemeScope for independent embedded themes. Component class names are unchanged. See CloudCommon integration for the token migration and source build instructions.
Use the libraries, send a pull request, or help pay for the work.