OAuth2 (LC 9) on mobile?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should,
but testing on iPad I just get an interesting dimmed out effect on the stack -
although in fact everything still works - where I would have expected a sheet
or switching to Safari or some other way of displaying a web page.

TIA,

Ben

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
To clarify, by "everything still works" I mean that the OAuth2 command appears
to have done "exit to top" without doing anything - but leaving the whole
screen dimmed out. So other controls on the card, although dim, work. But no
authorisation has happened.

On 11/10/2017 17:02, Ben Rubinstein via use-livecode wrote:

> Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should,
> but testing on iPad I just get an interesting dimmed out effect on the stack -
> although in fact everything still works - where I would have expected a sheet
> or switching to Safari or some other way of displaying a web page.
>
> TIA,
>
> Ben
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
Now that Greg's Oauth2 issue has been resolved, can I check whether anyone has
seen the Oauth2 library work on mobile? I don't want to raise an LQCC if it's
just me doing something wrong!

thanks,

Ben

On 11/10/2017 17:19, Ben Rubinstein via use-livecode wrote:

> To clarify, by "everything still works" I mean that the OAuth2 command appears
> to have done "exit to top" without doing anything - but leaving the whole
> screen dimmed out. So other controls on the card, although dim, work. But no
> authorisation has happened.
>
> On 11/10/2017 17:02, Ben Rubinstein via use-livecode wrote:
>> Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should,
>> but testing on iPad I just get an interesting dimmed out effect on the stack
>> - although in fact everything still works - where I would have expected a
>> sheet or switching to Safari or some other way of displaying a web page.
>>
>> TIA,
>>
>> Ben
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
Have you tried running the app in the iOS simulator as well?



-----
---
Greg (pink) Miller
mad, pink and dangerous to code
--
Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
In reply to this post by J. Landman Gay via use-livecode
OAuth2 does work on mobile - I needed to include the Browser widget in the
standalone. (The 'search for inclusions' doesn't know to include the Oauth2
library, let alone the browser widget.)

If anyone else finds themselves sometimes spending a long time going down a
path where the answer is to do with inclusions, I have two relevant feature
suggestions in LQCC - I'd be interested in comments:
http://quality.livecode.com/show_bug.cgi?id=20574
http://quality.livecode.com/show_bug.cgi?id=18199

Ben

On 13/10/2017 08:17, Ben Rubinstein via use-livecode wrote:

> Now that Greg's Oauth2 issue has been resolved, can I check whether anyone has
> seen the Oauth2 library work on mobile? I don't want to raise an LQCC if it's
> just me doing something wrong!
>
> thanks,
>
> Ben
>
> On 11/10/2017 17:19, Ben Rubinstein via use-livecode wrote:
>> To clarify, by "everything still works" I mean that the OAuth2 command
>> appears to have done "exit to top" without doing anything - but leaving the
>> whole screen dimmed out. So other controls on the card, although dim, work.
>> But no authorisation has happened.
>>
>> On 11/10/2017 17:02, Ben Rubinstein via use-livecode wrote:
>>> Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should,
>>> but testing on iPad I just get an interesting dimmed out effect on the
>>> stack - although in fact everything still works - where I would have
>>> expected a sheet or switching to Safari or some other way of displaying a
>>> web page.
>>>
>>> TIA,
>>>
>>> Ben
>>>

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode
Plot thickens - with the additional inclusions, I do indeed get a browser with
an invitation to log in to, in my case, Dropbox.

However after logging into Dropbox, and getting a page asking whether I
approve connecting this app - touching the "allow" button has no effect.

Has anyone else tried using Oauth2 on mobile, for Dropbox or anything else?

Many thanks,

Ben

On 16/10/2017 16:07, Ben Rubinstein via use-livecode wrote:

> OAuth2 does work on mobile - I needed to include the Browser widget in the
> standalone. (The 'search for inclusions' doesn't know to include the Oauth2
> library, let alone the browser widget.)
>
> If anyone else finds themselves sometimes spending a long time going down a
> path where the answer is to do with inclusions, I have two relevant feature
> suggestions in LQCC - I'd be interested in comments:
> http://quality.livecode.com/show_bug.cgi?id=20574
> http://quality.livecode.com/show_bug.cgi?id=18199
>
> Ben
>
> On 13/10/2017 08:17, Ben Rubinstein via use-livecode wrote:
>> Now that Greg's Oauth2 issue has been resolved, can I check whether anyone
>> has seen the Oauth2 library work on mobile? I don't want to raise an LQCC if
>> it's just me doing something wrong!
>>
>> thanks,
>>
>> Ben
>>
>> On 11/10/2017 17:19, Ben Rubinstein via use-livecode wrote:
>>> To clarify, by "everything still works" I mean that the OAuth2 command
>>> appears to have done "exit to top" without doing anything - but leaving the
>>> whole screen dimmed out. So other controls on the card, although dim, work.
>>> But no authorisation has happened.
>>>
>>> On 11/10/2017 17:02, Ben Rubinstein via use-livecode wrote:
>>>> Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it
>>>> should, but testing on iPad I just get an interesting dimmed out effect on
>>>> the stack - although in fact everything still works - where I would have
>>>> expected a sheet or switching to Safari or some other way of displaying a
>>>> web page.
>>>>
>>>> TIA,
>>>>
>>>> Ben
>>>>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: OAuth2 (LC 9) on mobile?

J. Landman Gay via use-livecode

> On 17 Oct 2017, at 7:58 am, Ben Rubinstein via use-livecode <[hidden email]> wrote:
>
> Plot thickens - with the additional inclusions, I do indeed get a browser with an invitation to log in to, in my case, Dropbox.
>
> However after logging into Dropbox, and getting a page asking whether I approve connecting this app - touching the "allow" button has no effect.
>
> Has anyone else tried using Oauth2 on mobile, for Dropbox or anything else?

Sorry not to have replied sooner Ben… I think this is my fault :-(

When I did OAuth2 I recall adding in some stuff for mobile but I actually can’t recall testing said stuff so it’s definitely feasible you are breaking new ground here.

It sounds like the browser isn’t redirecting but it needs investigation. Could you open a report with your findings and we will look into it.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode