justeat/ZendeskApiClient

Provide OAuth Token Support

Closed this issue · 2 comments

The Rest Client currently only supports Authorization header via Basic Auth token.
Support creating Authorization header via OAuth access token(Bearer token)
For example curl -H "Authorization: Bearer gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo" https://obscura.zendesk.com/api/v2/users.json

I have a PR ready for the same. Will be raising it.

Raised the PR. Kindly review and merge.