Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:06
What would you like to do?
update a connection and its config
content-type: application/json
authorization: Bearer ACCESS-TOKEN
"options": {
"bareConfiguration": {
"test": "foo3"
"customScripts": {
"login": "function login (email, password, callback) {\n console.log(configuration.test); \n console.log('connecting to the database...');\n console.log('quering...');\n\n //if ( email === xx && bcrypt.compareSync(password, user.password)) { }\n \n var profile = {\n user_id: \"103547991597142817347\",\n nickname: \"johnfoo\",\n email: \"\",\n name: \"John Foo\",\n given_name: \"John\",\n family_name: \"Foo\"\n };\n \n callback(null, profile);\n}\n"
"status": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment