moka认证页面
GET
https://app.mokahr.com/oauth/login返回:(绑定后,浏览器页面会跳转到回调地址)
redirectUri?code=xxxx
例:http://www.xxx.com/redirect?code=xxx
注:
1、code参数会拼接到回调地址url上
2、code有效期为五分钟
请求参数
Body 参数application/json
clientId
string
必需
moka生产的client的唯一标识
redirectUri
string
必需
重定向地址 必须为开通时填写的地址一致
scope
string
必需
第三方供应商拥有权限 exam: 考试, evaluation: 测评, interview: 视频面试, survey: 背调
state
string
必需
在回调时,会回传state参数给第三方应用,第三方应用的开发者可以验证state参数的有效性(也可以记录用户授权页面的位置)
示例
{
"clientId": "string",
"redirectUri": "string",
"scope": "string",
"state": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
修改于 3 年前