Re: integrating with FB JS API
Sabine Manaa <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CA+UbgZafHk3wfnEuQHdp68crbuON2rXVqwehcA2Z203_3L7otA@mail.gmail.com> |
Hi Siemen, You can use the code of Sven: https://github.com/svenvc/docs/blob/master/zinc/zinc-sso-paper.md Regards Sabine Siemen Baader [via Smalltalk] <[email protected]> schrieb am Mo. 12. Dez. 2016 um 17:44: > > > > > Hi, > > I am puzzled how to integrate the Facebook login JS API [1] with Seaside. > Basically what the API does is to retrieve an access token client-side and > pass it to a JS callback in the browser. When I have the token, I need to > pass it to my backend and check it again with the server. If it is OK, I > set the session to be authenticated and redirect to the logged in > experience. > > So - how do I set up a Seaside callback and execute it from JS, with the > token passed along to my callback code? > > Any guidance would be most welcome! > > Siemen > > 1: https://developers.facebook.com/docs/facebook-login/web > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4926661&i=0> > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > > > > > > > > > > > ------------------------------ > > > > > If you reply to this email, your message will be added to the discussion > below: > > > http://forum.world.st/integrating-with-FB-JS-API-tp4926661.html > > > > > > To start a new topic under Seaside General, email > [email protected] > > > To unsubscribe from Seaside, click here > <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310907&code=bWFuYWEuc2FiaW5lQGdtYWlsLmNvbXwxMzEwOTA3fC0xOTE3OTcxOTg5> > . > > > NAML > <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- View this message in context: http://forum.world.st/integrating-with-FB-JS-API-tp4926661p4926664.html Sent from the Seaside General mailing list archive at Nabble.com. _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside