nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

NXOAuth2Request with custom headers and JSON Body payload #211

Open robin7331 opened 8 years ago

robin7331 commented 8 years ago

Hi,

first I was using signedRequests to perform requests with custom header and payload data. But then there is this issue that I cannot refresh a token. Then I had to use [NXOAuth2Request performMethod] to overcome this issue. But now I am not able to modify the headers or send JSON body payload.

So I have to choose between using signedRequests and having trouble refreshing the token or performMethod and not being able to modify the request?

How do you solve that?

Thanks!