OAuth Web Services¶
Get
Display authorization form (requires login)
- Query Parameters:
response_type (string) – The response type accepted by the client. Must be set to ‘code’. (Required)
client_id (string) – The client identifier (Required)
redirect_uri (string) – The URI to direct the authoriation code response to.
scope (string) – The scope of the access request
state (string) – An opaque value used by the client to maintain state between the request and callback. (Required)
- Status Codes:
200 OK – Successful Response
422 Unprocessable Entity – Validation Error
Post
Handles the authorization form submission. Issues authorization token.
- Query Parameters:
response_type (string) – The response type accepted by the client. Must be set to ‘code’. (Required)
client_id (string) – The client identifier (Required)
redirect_uri (string) – The URI to direct the authoriation code response to.
scope (string) – The scope of the access request
state (string) – An opaque value used by the client to maintain state between the request and callback. (Required)
- Status Codes:
200 OK – Successful Response
422 Unprocessable Entity – Validation Error
POST
/oauth/token
¶Post
Return OAuth token to client
- Status Codes:
200 OK – Successful Response
422 Unprocessable Entity – Validation Error