Authentication
How to receive the OAuth code via POST?
POST?In default mode (see Authentication), Rebrandly OAuth server reaches the user redirect_url using a GET request, passing the code as a query parameter.
In some cases, it would be the choice of preference to have the OAuth code returned within a POST body.
In order to get back the code wrapped into the body of a POST request, a further query parameter is required in the OAuth URL (https://oauth.rebrandly.com/connect/oauth):
Parameter | Description |
|---|---|
client_id | The unique Client ID associated with your app. |
redirect_uri | This is the callback to your app you asked to be authorized in your request. |
response_type | This should be always |
scope | This should be always |
| response_mode | Leave it empty if you want the OAuth server to use |
Updated 18 days ago
