Nic Hanafey
Nic Hanafey

Reputation: 31

How to authorize correctly with Trello via OAuth?

I am trying to Authorize via OAuth with Trello and I can't seem to get it right, even in postman.

I have followed their API docs and have got myself a developer key and I have used a little link they have in this article to get a valid auth token.

I tried including the API key and Auth token in the header and (in a separate test) in the body, as per their documentation. Header and Body auth guidance

Everything I try results in "unauthorized permission requested". What am I doing wrong?

Postman Screenshot

Upvotes: 2

Views: 1456

Answers (1)

Nic Hanafey
Nic Hanafey

Reputation: 31

Ok so I had obviously made a mistake when trying the Header route.

It works now if I provide a header key called Authorization and the API key and Auth Token in the following format OAuth oauth_consumer_key="{{apiKey}}", oauth_token="{{apiToken}}".

Upvotes: 1

Related Questions