<div dir="ltr"><div>Hi,</div><div><br></div><div>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.</div><div><br></div><div>So - how do I set up a Seaside callback and execute it from JS, with the token passed along to my callback code?</div><div><br></div><div>Any guidance would be most welcome!</div><div><br></div><div>Siemen</div><div><br></div><div>1: <a href="https://developers.facebook.com/docs/facebook-login/web">https://developers.facebook.com/docs/facebook-login/web</a></div></div>