authorize

get

authorize


Generates Access Token or Authrorization code depending on response_type.

 

GET /authorize is redirected to Consent Application where a two-factor authentication is initiated. Upon successful authentication access_token or authorization code is returned as query parameters passed to the redirect uri.


https://open-commerce-dev.apigee.net/apis/v1/oauth /authorize

  • Name
    Value
    Description
  • client_id
    (required)
    Client ID of the registered App.
  • client_secret
    (required)
    Client Secret of the registered App.
  • redirect_uri
    (required)
    Redirect URI defined with your registered App.
  • response_type
    (required)
    The value must be one of 'code' for requesting an authorization code or 'token' for requesting an access token (implicit grant). The redirect url is passed with query params state and code.
  • state
    (required)
    Unique id to maintain state between asynchronous requests.
  • scope
    (required)
    Scope of the access token requested.
  • ui-locales
    (required)
    Locale to be used.
  • acr_values
    (required)
    Determines the level of security for authentication. A value of 2 will require only Customer Id and Password. A value of 3 will request for OTP.

Request Body

Basic Auth

OAuth 2.0

Custom Token

Reset

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security


 
 
This is the place where EventTypes description lies.

Sample Error Messages & Error Codes.

This is where error messages sample and description lies.
This is the place where HTTP Status Codes.

Working...