Yeah, but you do get the message mentioned.. Does it work to pop up a stack and open a browser instance using the passed URL, which should (I think) set your cookie and session information. At which point you can close the secondary instance and (probably) be good to go. (Just a guess, i'm reading up on persona now. ) I don't know if it will work across browser instances, while ignoring the fact that its trying to pop up an iframe. All you can do is try.
If I had a site to test it on, i'd set up persona here. On Tue, Jul 14, 2015 at 4:33 PM, David Bovill <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> > 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 > > > [email protected] > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
