[aerogear-dev] Cordova Ouath2 plugin using Google Play Services

Brian Leathem bleathem at gmail.com
Wed Feb 25 10:21:33 EST 2015


Thanks for the feedback guys, I'll look at creating a PR promptly.

Brian

On 2015-02-25 12:22 AM, Matthias Wessendorf wrote:
> +1 on joing forces :-) (see also passos' hint) 
> hehe
>
> On Wed, Feb 25, 2015 at 8:01 AM, Erik Jan de Wit <edewit at redhat.com
> <mailto:edewit at redhat.com>> wrote:
>
>     Hi Brian,
>
>     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.
>
>     Cheers,
>             Erik Jan
>
>     > On 24 Feb,2015, at 19:46 , Brian Leathem <bleathem at gmail.com
>     <mailto:bleathem at gmail.com>> wrote:
>     >
>     > Hey gear-heads,
>     >
>     > I recently wrote a Cordova plugin that retrieves a Oauth2 token on
>     > Android using Google Play Services.  The advantage of this
>     approach is
>     > it leverages the single-sign-on capabilities of android, and the
>     app can
>     > retrieve the Oauth2 token without requiring Authentication from the
>     > user. I blogged about it here:
>     >
>     >
>     http://www.bleathem.ca/blog/2015/02/cordova-oauth-google-services.html
>     >
>     > Using a promise-based API it's fairly trivial to fallback to a
>     > traditional Web authentication/authorisation for the Oauth2
>     token when
>     > the google-play-services approach isn't supported.
>     >
>     > I'm aware the aerogear team has a Oauth2 cordova plugin [1], but
>     it's
>     > not clear to me if the google-play-services integration is
>     supported.
>     > If the Aerogeam would find it useful, I'd be more than happy to
>     provide
>     > a PR to the aerogear cordova plugin providing such integration.
>     >
>     > Thoughts?
>     > Brian
>     >
>     > [1]
>     >
>     http://staging-aerogearsite.rhcloud.com/docs/specs/aerogear-cordova/OAuth2.html
>     > _______________________________________________
>     > aerogear-dev mailing list
>     > aerogear-dev at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>     _______________________________________________
>     aerogear-dev mailing list
>     aerogear-dev at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
>
> -- 
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150225/2d97ffb0/attachment-0001.html 


More information about the aerogear-dev mailing list