Tmall Genie Integration
Integrating your IoT solution with the Tmall Genie voice assistant requires linking your IoT application user account with their Tmall Genie account. Once linked, when a user speaks to a physical Tmall Genie device, the platform can identify and control the IoT devices belonging to that specific user.
To facilitate this, your application must provide an OAuth 2.0 authorization page. Users will typically initiate this account-linking process directly from the Tmall Genie mobile app.
Note
Please be aware that Tmall Genie does not strictly follow the standard OAuth 2.0 Authorization Code grant flow. Our platform adapts the necessary APIs to comply with Tmall Genie's specific protocol and flow requirements.
Steps to Configure User Linkage
Create an IdP (Identity Provider): Set up a dedicated Identity Provider within your SiX IDaaS & IAM workspace to manage authentication.
Configure an OAuth 2.0 Client: Create a specific OAuth client dedicated to the Tmall Genie integration and associate it with the IdP created in Step 1. Note that while your main IoT application and the Tmall Genie integration share the same IdP, they should use distinct OAuth clients for security and tracking.
Map API Endpoints: Map the endpoints provided in the API documentation below to the corresponding configuration fields in the Tmall Genie Developer Console.
Note
To complete the integration, please enter the following API endpoints into the corresponding fields within the Tmall Genie Developer Platform.
Please configure the following endpoints from the ali-genie-cloud-to-cloud-controller section into your Tmall Genie Developer Console:
API Endpoints Documentation: Tmall Genie Integration APIs