userId that your app provides. The userId should be stable, unique, and non-sensitive because it becomes the SDK identity used by login, profile, search, permission, and moderation APIs.
Keep your source-of-truth account record, credentials, email address, and private profile data in your own system. Send social.plus only the stable
userId and the social profile fields your experience needs.User ID Rules
Recommended IDs
- Recommended
- Avoid
Use database primary keys, UUIDs, or another immutable ID from your backend.
Stored Social Profile Fields
social.plus stores social profile and moderation fields that support SDK features. Avoid putting sensitive personal data in these fields.Parameters
Initialize the user repository
Initialize the user repository before calling user read, search, update, or moderation APIs.Related topics
Create User
Log in or create a user with the stable
userId.User Operations
Choose the right SDK operation for user reads, updates, search, moderation, and tokens.