[SailfishDevel] SilicaWebView, google sign-in button and app authorization

Linkin Oleg maledictusdemagog at gmail.com
Sun Oct 16 16:11:04 UTC 2016


Yes, but if I use webview auth process doesn't finish(the same in webcat) but all works fine in default browser. Changing of user agent doesn't help

вс окт. 16 18:27:49 2016 GMT+0300 получено от Kimmo Lindholm:
> But that should start for new ones on 20th oct, and full blockage april 2017 ?
> So you should be still fine.
> 
> (this is not helping you problem though)
> 
> From: Devel [mailto:devel-bounces at lists.sailfishos.org] On Behalf Of Oleg Linkin
> Sent: 16. lokakuuta 2016 17:28
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] SilicaWebView, google sign-in button and app authorization
> 
> I don't know, but http://www.theregister.co.uk/2016/08/23/google_to_block_web_views_from_using_its_oauth/
> 
> 2016-10-16 16:43 GMT+03:00 Slava Monich <slava.monich at jolla.com<mailto:slava.monich at jolla.com>>:
> Please excuse my ignorance but how can the server possibly tell the difference between the browser and a webview sending exactly the same HTTP requests? Just curious.
> 
> Cheers,
> -Slava
> 
> There is no working solution because google prohibited oauth authorization via webviews
> 
> 2016-10-16 15:02 GMT+03:00 <jollailija at gmail.com<mailto:jollailija at gmail.com>>:
> Care to share your code?
> 
> Oleg Linkin kirjoitti ma lokakuuta 10 09:08:52 2016 GMT+0300:
> > Hello developers.
> > I try to implement authorization via google in my applications but I have
> > one problem.
> > In sailfish browser authorization works the next way:
> > Click on google sign-in button
> > Open new page with google authorization
> > Denied/Grant permissions to app
> > Page closed automatically
> > Page with google sign-in button reloaded automatically
> >
> > But in webview the last 2 steps doesn't work. Does anybody has ideas how I
> > can do this?
> >
> > Thx
> >
> 
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>
> 
>

-- 
Отправлено с Intex Smartphone


More information about the Devel mailing list