OAuth2

Post to obtain a token with ClientID and Secret parameters additional to call user based auth you can pass a UserID parameter to impersonate the user.

Type: GET

End Point: /api/oauth2

Description: - Used to get a code parameter passed in the parameters to the endpoint defined in outgoing parameter redirect_uri via a GET request invoked by the endpoint directing to that redirect_uri after issuing the initial request thereto

  1. Getting Generic Access Token - Parameters - client_id: static string - redirect_uri: the url to handle the recieved response issued as a GET request to the redirect_uri via this remote endpoint containing the code

  2. Getting User Access Token - Parameters - client_id: static string - redirect_uri: the url to handle the recieved response issued as a GET request to the redirect_uri via this remote endpoint containing the code - userid: static string identifying the user

Parameters:

  • client_id-string (query)

    • Description: client_id

  • redirect_uri-string (query)

    • Description: redirect_uri

  • response_type-string (query)

    • Description: response_type

  • userid-string (query)

    • Description: userid

Response - Will be the response from the GET request issued by the remote server to the passed redirect_uri containing the recieved code parameter

Last updated