r-lib / httr2

Make HTTP requests and process their responses. A modern reimagining of httr.
https://httr2.r-lib.org
Other
237 stars 59 forks source link

Add support for RFC 8693 token exchange requests #581

Closed atheriel closed 1 week ago

atheriel commented 1 week ago

This commit adds a new OAuth "flow" to perform the token exchange protocol described in RFC 8693. This is a pretty obscure and advanced OAuth feature, but I thought it would be nice to have some helpers to support it in httr2, anyway.

I'm not aware of that many implementations of this RFC, though there are a few to note:

Closes #460.

atheriel commented 1 week ago

I don't have write access to merge, you might have to do so on my behalf.

hadley commented 1 week ago

I also gave you write access since you contribute quite a bit 😄