Skip to content

Instantly share code, notes, and snippets.

View maxkatz's full-sized avatar

Max Katz maxkatz

View GitHub Profile
@maxkatz
maxkatz / SOA_access_token_server_script
Last active August 29, 2015 14:08
Appery.io server code script that gets an access token
// service request
var code = request.get("code");
// debug
//console.log("code: " + code);
// app settings
var client_id = "";
var client_secret = "";
var url = "https://p0st3r.eap.soa.com/oauth/oauth20/token";