Persona Login in Livecode embedded browser?

David Bovill david at viral.academy
Tue Jul 14 18:33:50 EDT 2015


Thanks Mike - but I'm not getting any of those messages - nor can I right
click on the browser and get a menu (CEF).

On 14 July 2015 at 16:47, Mike Bonner <bonnmike at gmail.com> wrote:

> You might look here:
>
> http://forums.livecode.com/viewtopic.php?f=9&t=23100&p=119778&hilit=browsernewurlwindow#p119778
>
> Ite talks about using revbrowsernewurlwindow at first, but thenends up
> using browserbefornavigate to get the job done. Hope this helps.
>
> On Tue, Jul 14, 2015 at 3:10 AM, David Bovill <david at viral.academy> wrote:
>
> > I want to be able to login to a web site that uses Mozilla Persona using
> > Livecode Browser.
> >
> > The problem I have is that the Persona login opens another frame, and
> when
> > I click on the login button in Livecode broswer I don't get any messages
> > sent I can trap for. The href="#" link on the persona-login-btn would
> > appear to be handled by a Javascript library.
> >
> > This opens a new tab that handles the login, before this tab is closed
> and
> > the session cookie is set. It's hard to debug with all the jumping
> around,
> > but i don't really need to go into the details - what I need to do is be
> > able to get the Livecode browser to sign in - then I have the cookie and
> I
> > am good to go.
> >
> > For that I need to handle the window opening and allow Persona to log me
> in
> > from Livecode browser.
> >
> > Has anyone done this, or have any tips with regard to similar issues?
> >
> >
> > The only message I can get is:
> >
> > browserBeforeNavigateFrame "1","
> > https://login.persona.org/communication_iframe"
> >
> > NB - my aim is to grab the session cookie at the end of the login process
> > to enable me to make authenticated calls from Livecode to automate
> certain
> > interaction through http calls.
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list