<div dir="ltr">+1 on joing forces :-) (see also passos' 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"><<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>></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>
> On 24 Feb,2015, at 19:46 , Brian Leathem <<a href="mailto:bleathem@gmail.com">bleathem@gmail.com</a>> wrote:<br>
><br>
> Hey gear-heads,<br>
><br>
> I recently wrote a Cordova plugin that retrieves a Oauth2 token on<br>
> Android using Google Play Services. The advantage of this approach is<br>
> it leverages the single-sign-on capabilities of android, and the app can<br>
> retrieve the Oauth2 token without requiring Authentication from the<br>
> user. I blogged about it here:<br>
><br>
> <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>
><br>
> Using a promise-based API it's fairly trivial to fallback to a<br>
> traditional Web authentication/authorisation for the Oauth2 token when<br>
> the google-play-services approach isn't supported.<br>
><br>
> I'm aware the aerogear team has a Oauth2 cordova plugin [1], but it's<br>
> not clear to me if the google-play-services integration is supported.<br>
> If the Aerogeam would find it useful, I'd be more than happy to provide<br>
> a PR to the aerogear cordova plugin providing such integration.<br>
><br>
> Thoughts?<br>
> Brian<br>
><br>
> [1]<br>
> <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>
> _______________________________________________<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>
<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>