Skip to content

Instantly share code, notes, and snippets.

@varunity
Last active December 1, 2015 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save varunity/2e7d5568e761c7dc51f7 to your computer and use it in GitHub Desktop.
Save varunity/2e7d5568e761c7dc51f7 to your computer and use it in GitHub Desktop.
Drupal LiveFyre Enterprise Authentication Delegate for Janrain integration
var authDelegate;
Livefyre.require(["auth","lfep-auth-delegate#0"],
function(auth, LFEPAuthDelegate) {
// create an LFEP Auth Delegate
var authDelegate = new LFEPAuthDelegate({
engageOpts: {
app: "example.auth.fyre.co"
}
});
// Delegate AppKit Auth actions to LFEP
auth.delegate(authDelegate);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment