v1.27
over 1 year ago by Khizar Naeem
OAuth updates.
Updated
OAuth Server Change
We have moved the OAuth server to the same domain as the Deel app. You can now use app.deel.com/oauth2/...
for all of your OAuth-related requests to Deel.
For example, the API call to exchange and auth grant for an access token will look like this:
POST 'https://app.deel.com/oauth2/tokens' \
--header 'Authorization: Basic d3dzZm5lbG84MDowYWZzN3h2MGQ5' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code={authorization_code}' \
--data-urlencode 'redirect_uri={redirectUri}'
OAuth calls to demo can be made to this host:demo.letsdeel.com/oauth2/...
.