Vladimiroff
Vladimiroff

Reputation: 473

OAuth authentication for Google API with Qt

I'm trying to get authenticated for receiving and publishing Google Buzz-es from a Qt 4.6(c++) application. I'm looking for a cross-platform solution.

Could anyone provide some working solution for this purpose?

Upvotes: 6

Views: 6217

Answers (4)

pipacs
pipacs

Reputation: 1109

I couldn't find any either, so I made one: https://github.com/pipacs/steps/tree/master/o2 . Based on KQOAuth, tested with Google Docs.

Upvotes: 2

Johan Paul
Johan Paul

Reputation: 46

You can also try kQOAuth which is a new Qt library for doing OAuth authentication. It will let you do the user authentication very easily too, if you like.

Supports OAuth 1.0 and HMAC-SHA1. No external dependencies.

http://www.johanpaul.com/blog/2010/10/introducing-kqoauth-easy-and-powerful-oauth-library-for-qt/

Upvotes: 3

MorrisLiang
MorrisLiang

Reputation: 702

I'm using QOAuth, you have to do some hack before you can use QOAuth in windows.

So far, I could get the request token from Google, and let the user authorize it. But when I try to get the access token with the oauth_verifier, it keeps telling me the signature is invalid.

Anyway, I've used QOAuth to deal with other SP successfully. So the QOAuth is the solution.

Upvotes: 0

Gianni
Gianni

Reputation: 4390

Quick google search gave me QOAuth, which is a Qt lib and liboath which is a C based API.

Upvotes: 0

Related Questions