Authorize applications
GET {{baseUrl}}/v2/oauth/authorize?client_id=<string>&redirect_uri=<string>&response_type=<string>&state=<string>
This endpoint returns a redirect URI (in the 'Location' header) that the customer uses to authorize your application and, together with POST /v2/oauth/access_token, generate an access token that represents that authorization.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| client_id | string | (Required) Client ID (Consumer Key) of your application | |
| realm | string | User type to be authorized (usually 'customer') | |
| redirect_uri | string | (Required) The callback URI to send the request to after authorization; must use a host name that is registered with your application | |
| response_type | string | (Required) Type of temporary authorization code that will be used to generate an access code; the only valid value is 'code' | |
| scope | string | Space-separated list of scopes to be authorized | |
| state | string | (Required) Unique value used by the calling app to verify the request | 
RESPONSES
status: OK
""