OpenID and UnionID
OpenID Description
OpenID is the unique identifier of a user within a minigame.
OpenID Generation
OpenID is generated from the combination of appid + gameid + userid.
appidis the application identifier corresponding to the minigame that the APP publishes in OpenPaaS. It is assigned by the OpenPaaS platform when the APP creates an application in OpenPaaS.gameidis the unique id of the minigame within the OpenPaaS platform.useridis the unique user identifier provided by the third-party platform.
UnionID Description
OpenPaaS provides a unique identifier, i.e., UnionID, for the same user across multiple minigames belonging to the same game developer on the platform. As long as the minigames are under the same developer account, the user's UnionID is unique.
UnionID Generation
UnionID is generated from the combination of appid + cpid + groupid + userid.
appidis the application identifier corresponding to the minigame that the APP publishes in OpenPaaS. It is assigned by the OpenPaaS platform when the APP creates an application in OpenPaaS.cpidis the unique identifier of the game developer.groupidcan group multiple games of a CP. For example, if games A, B, C are bound together, the same user in these games has the same UnionID; while D, E, F are bound as another group, where the same user has the same UnionID within that group but different from the UnionID in games A, B, C.useridis the unique user identifier provided by the third-party platform.
