-
Notifications
You must be signed in to change notification settings - Fork 7
2. Third Party APP Login Process
Fred Liang edited this page Aug 13, 2018
·
1 revision

https://open.work.weixin.qq.com/wwopen/sso/qrConnect
| Parameter | Required | Instruction |
|---|---|---|
| appid | yes | Work Weixin CorpID |
| agentid | yes | Agent ID: 1000011 |
| redirect_uri | yes | Redirect URL: https://open.hustunique.com/auth (urlencoded) |
| state | no | urlsafe base64 encoded json data string
|
{
"url":"your callback url",
"token":"the token you got"
}| Parameter | Instruction |
|---|---|
| state | urlsafe base64 encoded user info
|
| timestamp | timestamp, example: 1423361979
|
{
"UserId":"TheUserUniqueID",
"username":"username",
"appid":"appid",
"err":null,
"phone":"17371266666",
"state":"statedata"
}