Skip to content

Instantly share code, notes, and snippets.

$(function() {
//callback we must supply to the widget to interact with our server-side code
//must take 3 parameters: email, fingerprint, and app_code
//must return a jQuery POST request object
var callback = function(email, fingerprint, kickbox_app_code){
return $.post( "/authenticate", {
email: email,
fingerprint: fingerprint,
kickbox_app_code: kickbox_app_code,