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

2016-10-17 Thread Steph Gosling
Horridly convoluted but you can try this?

https://github.com/tdryer/hangups/issues/260#issuecomment-246578670

On Sun, 16 Oct 2016 16:11:04 +
Linkin Oleg  wrote:

> 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-boun...@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 
> > mailto:slava.mon...@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 
> > mailto:jollail...@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-unsubscr...@lists.sailfishos.org<mailto:devel-unsubscr...@lists.sailfishos.org>
> > 
> >
> 
> -- 
> Отправлено с Intex Smartphone
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

-- 
Steph Gosling 
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread Andrew Branson
Reading their reasonings in the reg article, they should allow use of the new 
Silica Webview, provided it is used with the user's browser profile. After all, 
it is just an embeddable version of the main browser, rather than a classic 
webview. Maybe it should have its name changed...

On Sun Oct 16 17:28:06 2016 GMT+0200, Kimmo Lindholm wrote:
> 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-boun...@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 :
> 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 :
> 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-unsubscr...@lists.sailfishos.org
>  

-- 
Sent from my Jolla
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


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

2016-10-16 Thread Linkin Oleg
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-boun...@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 
> mailto:slava.mon...@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 
> mailto:jollail...@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-unsubscr...@lists.sailfishos.org<mailto:devel-unsubscr...@lists.sailfishos.org>
> 
>

-- 
Отправлено с Intex Smartphone
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread 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-boun...@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 
mailto:slava.mon...@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 mailto:jollail...@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-unsubscr...@lists.sailfishos.org<mailto:devel-unsubscr...@lists.sailfishos.org>

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread Oleg Linkin
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 :

> 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 :
>
>> 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@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread Slava Monich
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 >:


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-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread Oleg Linkin
There is no working solution because google prohibited oauth authorization
via webviews

2016-10-16 15:02 GMT+03:00 :

> 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
> >
>
> --
> Lähetetty Jollastani
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

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

2016-10-16 Thread jollailija
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
>

-- 
Lähetetty Jollastani
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org