[Seaside] integrating with FB JS API

Sabine Manaa manaa.sabine at gmail.com
Mon Dec 12 16:50:48 UTC 2016


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] <ml-node+s1294792n4926661h86 at n4.nabble.com>
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
> ml-node+s1294792n86180h75 at n4.nabble.com
>
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20161212/23b0e7c5/attachment.html>


More information about the seaside mailing list