Join GitHub today
support for OAuth2 in Yahoo API #493
I was recently able to complete a successful auth flow against Yahoo's OAuth2 API with httr, but only after a few small changes:
Is there any desire to add either of these changes into the package? I can take a stab at a PR if so. For the first issue, it would be simple to add an override for the OOB string, with the option scoped either globally or to the app. For the second, the existing endpoint could be updated or separate endpoints could be provided for OAuth1 and OAuth2.
added a commit
Oct 28, 2017
@Tectra sure thing. Keep in mind I am running an OOB OAuth flow, so I have provisioned a Desktop application in Yahoo. Here's a gist:
It requires my httr fork available here:
Also worth noting that I am creating my own
@ctrombley are you still interested in doing a PR? I'm happy to implement myself, but if you'd like to take a shot I'd be happy to review your code. Please let me know either way.
If so, the main challenge is figuring out how to specify the oob value. For now, since we'll reconsider this entire API in httr2, I'd recommend adding a new parameter,