Note that there are some explanatory texts on larger screens.

plurals
  1. POGmail IMAP OAuth for desktop clients
    primarykey
    data
    text
    <p>Recently Google announced that they are supporting OAUth for Gmail IMAP/SMTP. I browsed through their multiple documentations, but still I am confused about if they support OAuth for installed applications.</p> <p>1. In <a href="http://code.google.com/apis/gdata/articles/oauth.html" rel="nofollow noreferrer">this documentation</a> they say:</p> <blockquote> <p>Note: Though the OAuth protocol supports the desktop/installed application use case, Google only supports OAuth for web applications.</p> </blockquote> <p>But they also have a document for <a href="http://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html" rel="nofollow noreferrer">OAuth for installed applications</a>.</p> <p>2. When I read the <a href="http://oauth.net/core/1.0a/" rel="nofollow noreferrer">OAuth specification</a> pointed by them, it says (in section 11.7):</p> <blockquote> <p>In many applications, the Consumer application will be under the control of potentially untrusted parties. For example, if the Consumer is a freely available desktop application, an attacker may be able to download a copy for analysis. In such cases, attackers will be able to recover the Consumer Secret used to authenticate the Consumer to the Service Provider.</p> </blockquote> <p>Also I think the disclaimer in point 1 above is about <a href="http://code.google.com/apis/gdata/docs/directory.html" rel="nofollow noreferrer">Google Data APIs</a>, and surely IMAP/SMTP is not a part of them.</p> <p>I understand that for installed applications I can have a setup like:</p> <ol> <li><p>Have a small web-app at say example.com for my application. This web-app talks to Google gets the access token.</p></li> <li><p>The installed application talks to example.com only to get the access token.</p></li> <li><p>Installed application then talks to Google with the access token.</p></li> </ol> <p>I am now confused. Is this the only way? Also, if I do OAuth from desktop application we have to ship the Consumer Secret key with the app. Then, we can't maintain secrecy of the consumer key.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload