<div dir="ltr">+1 on joing forces :-) (see also passos&#39; hint) <div>hehe</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 8:01 AM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian,<br>
<br>
Cool stuff, seems like your javascript api is very similar to what we have on the cordova plugin. Would be great if you could add it.<br>
<br>
Cheers,<br>
        Erik Jan<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; On 24 Feb,2015, at 19:46 , Brian Leathem &lt;<a href="mailto:bleathem@gmail.com">bleathem@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hey gear-heads,<br>
&gt;<br>
&gt; I recently wrote a Cordova plugin that retrieves a Oauth2 token on<br>
&gt; Android using Google Play Services.  The advantage of this approach is<br>
&gt; it leverages the single-sign-on capabilities of android, and the app can<br>
&gt; retrieve the Oauth2 token without requiring Authentication from the<br>
&gt; user. I blogged about it here:<br>
&gt;<br>
&gt; <a href="http://www.bleathem.ca/blog/2015/02/cordova-oauth-google-services.html" target="_blank">http://www.bleathem.ca/blog/2015/02/cordova-oauth-google-services.html</a><br>
&gt;<br>
&gt; Using a promise-based API it&#39;s fairly trivial to fallback to a<br>
&gt; traditional Web authentication/authorisation for the Oauth2 token when<br>
&gt; the google-play-services approach isn&#39;t supported.<br>
&gt;<br>
&gt; I&#39;m aware the aerogear team has a Oauth2 cordova plugin [1], but it&#39;s<br>
&gt; not clear to me if the google-play-services integration is supported.<br>
&gt; If the Aerogeam would find it useful, I&#39;d be more than happy to provide<br>
&gt; a PR to the aerogear cordova plugin providing such integration.<br>
&gt;<br>
&gt; Thoughts?<br>
&gt; Brian<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="http://staging-aerogearsite.rhcloud.com/docs/specs/aerogear-cordova/OAuth2.html" target="_blank">http://staging-aerogearsite.rhcloud.com/docs/specs/aerogear-cordova/OAuth2.html</a><br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>