api icon indicating copy to clipboard operation
api copied to clipboard

Forbidden

Open AmaarHassan opened this issue 4 years ago • 1 comments

So let me give you guys some perspective. I am wanting to move wunderlist tasks to different api. I am writing a middleware. I registered my app, https://developer.wunderlist.com/apps/new , and availed clientID and clientSecret then i created a url to be used, which is like this https://www.wunderlist.com/oauth/authorize?client_id=a78e780c5e7b15785fcc&redirect_uri=https://myapp/handleImport&state=crazy4

It goes to sign in page and if signed in, it just says Forbidden

i do not understand the reason that it is forbidden...any idea?

btw the clientid is real, the app is for test purpose so knock yourself out :P

Screenshot from 2020-01-29 23-19-55

AmaarHassan avatar Jan 29 '20 18:01 AmaarHassan

@AmaarHassan seems like you have missed authorization header: https://github.com/wunderlist/api/blob/master/concepts/authorization.md

here is example: https://www.wunderlist.com/oauth/authorize?client_id=28f0f1708fc8f27fd4da&redirect_uri=https://todo.esipick.com/callback&state=test

ahmadwaliesipick avatar Feb 03 '20 04:02 ahmadwaliesipick