URL(getAuthorizationCode)
GET
/oauth/authorizeTo begin the authorization flow, the 3PP constructs a URL like the following
Production environment https://openapi-hk.orangeconnex.com/oauth/authorize
Stage environment https://openapi-stage-hk.orangeconnex.com/oauth/authorize
请求参数
Query Params
response_type
string
required
This tells the authorization server that the application is initiating the authorization code flow. fix value: code
client_id
string
required
The ID of 3PP offered by OC offline.
redirect_uri
string
required
Tells the authorization server where to send the user back to after they approve the request.
state
string
required
3PP generates a string and includes it in the request. This string could be used to recognize 3PP's account.
示例代码
Responses
OK(200)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 6 个月前