Preparations Before Integration
Roles
The OpenPaaS service involves multiple roles, each with different responsibilities:
- User: the game player who uses the minigame
- Game Developer: the person who develops the minigame
- App Developer: the person who develops the app
- APP: the app client, in which the user opens the corresponding minigame
- SUD OP: the SDK integrated into the app client, responsible for the container that runs the minigame
- Game: the minigame client
- Game SVR: the minigame server
- SUD OP SVR: the server of the OpenPaaS SDK
- APP SVR: the app server
Prerequisites
- The enterprise registers as an app developer on the OpenPaaS platform and completes the relevant certification. For the registration process, see Introduction - Getting an Account
- Create an app in the OpenPaaS console and obtain the app's
AppID,AppKey,AppSecret, and three additional key pairs:- AppID: the unique identifier of the app
- AppKey: required when initializing the SDK
- AppSecret: the app secret, used to exchange for an accessToken
- App public key: stored in the API security configuration, used by the OpenPaaS SDK server to verify the signatures of the app's interface calls.
- App private key: kept solely by the app server, used to generate the digital signatures of interface requests; its security must be strictly guaranteed.
- SUD OpenPaaS certificate: the official certificate containing the SUD OpenPaaS public key information, used by the app to verify the signatures of the SDK server's interface responses/callbacks.
- For details on obtaining keys, see: OpenPaaS Console
Starting Integration
Integrating the OpenPaaS service involves personnel on both the app frontend and app backend. The main tasks are as follows:
- Frontend personnel are responsible for integrating the OpenPaaS SDK
- Frontend personnel implement app-related capabilities through the JSAPI, such as user login, user payment, ads, and other related capabilities
- Backend personnel are responsible for authentication and the related data interfaces
- Implement SaaS APIs such as the data query interfaces between the app and OpenPaaS
