Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ var client_id = "myClientID";
var client_secret = "password";
var client_realm = "/";

// In case we want to use other realms (like /realm instead of /),
// this will allow basic flow to work properly.
if(client_realm.length>1){
access = "/oauth2"+client_realm+"/access_token"
}

// ...END CONFIGURATION

// http://stackoverflow.com/ has lots of useful snippets...
Expand Down