You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the central identity, account, product-user, and integration-webhook subsystem defined in V4_IDENTITY_LICENSING_ADDITION.md. Connects verified commerce state to actual product access across three integration modes.
Part of Milestone D — Paid Products. Ref: #27
Adds the central identity, account, product-user, and integration-webhook subsystem defined in
V4_IDENTITY_LICENSING_ADDITION.md. Connects verified commerce state to actual product access across three integration modes.Alex tasks
Tables
accounts,account_emails,account_sessions,account_linksproduct_users,product_user_linksseats,seat_assignmentssigning_keys_metadataintegration_clients,integration_credentialsintegration_webhook_endpoints,integration_webhook_deliveriesIdentity modes
external_user_id, SYSTEMS. stores product-user record and optional identity link. Product passwords and profiles remain outside SYSTEMS.Account rules
Entitlement resolver (full multi-grant)
pending,trial,active,grace,read_only,suspended,expired,deniedOffline and degraded operation
offlineUntil, key ID, features, and subscription stateDevices and seats
Integration webhooks (outbound — for entitlement changes)
POST /api/integration-webhooks/acknowledgeendpointNew APIs
POST /api/identity/authorizeandPOST /api/identity/token(OIDC flows)POST /api/product-users/upsertandPOST /api/product-users/link-accountPOST /api/entitlements/batch-checkPOST /api/integration-webhooks/acknowledgeServer SDK responsibilities
Runbooks
Tomas tasks
Exit gate
Rollback
Disable identity and product-user endpoints. Commerce and legacy entitlement checks continue independently.