[Seaside] integrating with FB JS API

Siemen Baader siemenbaader at gmail.com
Mon Dec 12 16:43:42 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20161212/f639a26e/attachment.html>


More information about the seaside mailing list