Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OAuth 2.0 on C++ (for UNIX)

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!

like image 345
JoHa Avatar asked Jan 03 '12 06:01

JoHa


People also ask

Is oauth1 oauth2 compatible?

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.

Is oauth1 deprecated?

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.


1 Answers

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.

like image 133
user2352497 Avatar answered Sep 28 '22 02:09

user2352497