KAA Endpoint Ownership技术问询:设备是否可被多个用户拥有?
Great question! Let me break this down clearly based on KAA's core capabilities:
Yes, a KAA endpoint absolutely can be "owned" by multiple users—exactly like the heater scenario you described, where different users authenticated via Google Verifier can control the same device through their Android phones.
Here's how it works in practice:
- KAA's endpoint ownership system is built around associations between endpoints and identity subjects (users). There’s no hard restriction on linking multiple unique identities to a single endpoint.
- When a user logs into your Android app using their Google account, the Google Verifier validates their identity. Your app can then use KAA’s APIs (or SDKs) to associate this verified user identity (like their unique Google user ID) with the heater endpoint. This is typically done via the
POST /endpoints/{endpointId}/ownersendpoint, passing the user’s authenticated identity details. - You can even assign granular permissions to each owner. For example, you might let User A adjust the heater temperature, while User B only has permission to view the current temperature—all managed through KAA’s permission control module.
For your specific use case:
Once both users are associated with the heater endpoint, each can interact with the device through their own Android phone. KAA will recognize their authenticated identities and enforce the permissions you’ve set, so they can each control (or monitor) the heater as allowed.
A few key notes to keep in mind:
- Ensure your KAA deployment is configured to allow multiple owners (this is the default behavior, but it’s worth confirming your permission policies aren’t restricting it).
- Always rely on trusted verifiers like Google to authenticate users before adding them as owners—this keeps your device access secure.
- You can manage owners at any time via KAA’s admin console or API, adding/removing users or adjusting their permissions as needed.
内容的提问来源于stack exchange,提问作者Richard Singun

