Any idea when use OAuth with QML?
A few days ago, i write an application that use Google Docs, which need OAuth. I put the process/logic part in Qt C++ code, and launch a webview in QML when it’s need my permission of access. It’s works well, but it doesn’t a good user experience, for which i must launch a webview.
The thing i want is: i only need to input my username and password of Google Docs, and use OAuth, i can get the access token without launch the webview. So from then on, i’m looking for the open sources or solutions that can make this happen.
I just find 2: qOAuth and xAuth. And they’re totally different. And i think the xAuth is the one for me, which i can use QML + js in this case. But i still confused. Because i only find twitter support it, but how about Google Docs and facebook.
Can this help you?
Thanks mario, i see it at Qt Ambassador showcase before. Can you tell me, if this can get access token directly instead of launch a webview? I just know, with xAuth, it can be done in Twitter. But how about kqoauth in Google Docs or Facebook? I can get the token directly?