Skip to content

Instantly share code, notes, and snippets.

Avatar

Derek Seymour derekseymour

View GitHub Profile
@derekseymour
derekseymour / freshdesk_sso.js
Last active Jun 17, 2020
Freshdesk Single Sign On URL - Node.js
View freshdesk_sso.js
var crypto = require('crypto');
/**
* Generates and returns a Freshdesk Single Sign On URL
* {@link https://gist.github.com/derekseymour/26a6fe573c1274642976 Gist}
*
* @author Derek Seymour <derek@rocketideas.com>
* @param {String} name - The name of the user logging in.
* @param {String} email - A valid email address to associate with the user.