← Back to products
🌐

UMID Federated Identity

One UMID across all apps, cross-platform account auto-merge

UMID (UserMatrix ID) is the user's federated identity identifier. One UMID runs through all UM-integrated apps, cross-platform accounts auto-merge. User identity is owned by the user, apps are merely consumers.

example.sql
// 用户主表
CREATE TABLE um_user (
  id BIGINT PRIMARY KEY AUTO_INCREMENT,
  openid VARCHAR(64),           -- UMID
  login_type VARCHAR(20),
  nickname VARCHAR(100),
  avatar VARCHAR(500),
  phone VARCHAR(20),
  email VARCHAR(100),
  score INT DEFAULT 0,
  balance DECIMAL(10,2) DEFAULT 0
);

-- 第三方绑定表(一个 UMID 可绑定多个平台)
CREATE TABLE um_oauth (
  user_id BIGINT,
  appid VARCHAR(32),
  type VARCHAR(20),             -- wx/alipay/qq/douyin
  openid VARCHAR(64),           -- 第三方 openid
  access_token VARCHAR(255)
);

Core features

6 key capabilities, covering everything from basic to advanced

Cross-platform account merge

Login to app A via WeChat, app B via Alipay — UM auto-identifies as same user

User asset ownership

Traditional login makes users "tenants"; UM makes them "owners", apps are merely "consumers"

Cross-app data flow

User's points/balance/activity in app A can be used in app B (with authorization)

Device fingerprint matching

Multi-dimensional auto-merge via device fingerprint / phone / email

OAuth binding table

um_oauth table records user_id × appid × type × openid mapping

Unified social_uid

Apps associate local users via social_uid, unified cross-app identifier

Other products