# Third Party Service System Access - H5 Access Authentication

# Configuration information

For example:

  • APPID: xxxxxxxxxxxxxxx
  • TOKEN: xxxxxxxxxxxxxxx
  • EncodingAESKey: xxxxxxxxxxxxxxx

h5p

h5

# Embedded into third party systems - anonymous non-authenticated

https://chatbot.weixin.qq.com/webapp/{TOKEN}? RobotName = {title information displayed at the top of the page}

Dxplaination of parameters

field type Yes Required describe
robotName string no Title information displayed on the web page

# Embedded in third-party systems - with authentication

https://chatbot.weixin.qq.com/webapp/auth/{TOKEN}? openid={openid}&nickname={nickname}&avatar={avatar}&robotName={ The title information displayed at the top of the page}

If it is embedded in IFrame, set the sandbox, open allow-same-origin allow-scripts allow-popups allow-forms Permissions, otherwise it may cause abnormal work For example: <iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms" src=""></iframe>

Dxplaination of parameters

field type Yes Required describe
openid string yes Unique identifier used to distinguish users
nickname string no User nickname
avatar string no User avatar
robotName string no Title information displayed on the web page

openid The information should be a unique identifier representing the user's identity, and this field will be used at multiple points in the conversation. The dialog context session of the smart dialog is also distinguished by this field