Matrix Identity System
Subtitle:
User identification and third-party ID association framework in Matrix
Core Idea:
The Matrix Identity System manages user identities by providing unique Matrix IDs and allowing users to link third-party identifiers (3PIDs) like email addresses and phone numbers through federated identity servers.
Key Principles:
- Unique User IDs:
- Every Matrix user has a unique identifier in the format
@localpart:domaintied to their homeserver.
- Every Matrix user has a unique identifier in the format
- Third-Party ID Linking:
- Users can associate external identifiers like email addresses and phone numbers to their Matrix accounts.
- Federated Identity Verification:
- A network of trusted identity servers verifies ownership of 3PIDs and maintains mappings between 3PIDs and Matrix IDs.
Why It Matters:
- Discovery:
- Users can find contacts on Matrix by searching for their email addresses or phone numbers.
- Authentication Flexibility:
- Multiple authentication methods can be used beyond Matrix-specific credentials.
- Identity Portability:
- Users can maintain consistent identity while changing homeservers.
How to Implement:
- Identity Server Selection:
- Connect to trusted identity servers in the Matrix ecosystem.
- 3PID Verification:
- Validate ownership of third-party IDs through confirmation codes sent via email, SMS, etc.
- Binding Publication:
- Publish verified mappings between 3PIDs and Matrix user IDs to identity servers.
Example:
- Scenario:
- A new Matrix user wants to find existing contacts who already use Matrix.
- Application:
- The user authorizes their Matrix client to look up their address book contacts on identity servers.
- Result:
- The client displays which contacts have Matrix accounts, allowing the user to connect with them immediately.
Connections:
- Related Concepts:
- Matrix Protocol: The broader communication protocol that uses this identity system
- User and Device Management in Matrix: How users and their devices are managed in Matrix
- Broader Concepts:
- Federated Identity: General approaches to identity across distributed systems
- Decentralized Identifiers (DIDs): W3C standard for decentralized identifiers
References:
- Primary Source:
- Matrix Specification: Identity Service API
- Additional Resources:
- Matrix Identity Service documentation
- Matrix 3PID association documentation
Tags:
#matrix #identity #federation #3pid #authentication #discovery
Connections:
Sources:
- From: Matrix Specification