[Qt-qml] Authentication from a QML application

Johan Paul johan.paul at gmail.com
Tue Oct 18 17:13:11 CEST 2011


Hi,

Just want to chime in by saying that OAuth is not the same as HTTP auth.

OAuth is the thing you see web pages do when, say, Facebook wants to 
integrate with your Flickr account and you need to authenticate this 
connection - or when your mobile app shows the log in page a social 
service and you must log in and press a button "Please let this app send 
tweets from my account" and then the mobile app says "yey".

HTTP Auth is your traditional browser popup to log in to sites with. 
AFAIK there is no way to do this in QML right now. But I would also like 
to be proven wrong (or hear it's available in QtQuick2).


Cheers,

Johan


> Hello,
>
> I believe it was you an hour or so ago in IRC that was requesting info
> on this, someone posted a link that may be of use but I realised you had
> left, so here's the link that said person posted:
>
> http://www.developer.nokia.com/Community/Wiki/QML_OAuth
>
> I have no idea about this myself though, but I hope it's useful :)
>
> Mark T
>
> -----Original Message-----
> From: qt-qml-bounces+mark.tucker=airborne.aero at qt.nokia.com
> [mailto:qt-qml-bounces+mark.tucker=airborne.aero at qt.nokia.com] On Behalf
> Of Sivan Greenberg
> Sent: 17 October 2011 20:42
> To: qt-qml at qt.nokia.com
> Subject: [Qt-qml] Authentication from a QML application
>
> Hi All,
>
>   I found some examples floating around but nothing that would come
> close to how I do it with QNAM. Are there any guidelines or examples
> or tips of how to implement HTTP auth while keeping it a pure QtQuick
> app? (excluding of course the qmlviewer C++ part).
>
> Thanks in advance,
>



More information about the Qt-qml mailing list