I was wondering what the best implementation/library (preferably with sample code implementing the library) for OAuth 2.0 on C++. Application runs on a Linux machine.
It would be great if you can point me to the right implementation, tested and works; I found some online about Twitter but I am not quite sure if they satisfy OAuth 2.0 rather than OAuth 1.0.
Thanks!
OAuth 2.0 is not backwards compatible with OAuth 1.0 or 1.1, and should be thought of as a completely new protocol. OAuth 1.0 was largely based on two existing proprietary protocols: Flickr's authorization API and Google's AuthSub.
On December 17th, 2019, Intuit will discontinue all support for OAuth 1.0 and OpenID 2.0 was deprecated on May 31, 2019. After December 17th, 2019, applications will no longer be allowed to make API calls using OAuth 1.0 and no OpenID 2.0 API calls after May 31, 2019.
http://www.webtoolkit.eu/wt/ has an OAuth implementation. Looking over the source code suggests it might be OAuth2. They include code for OAuth authentication (not sure if I'm using the term correctly) with google and facebook.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With