{"size": 768, "ext": "js", "max_stars_repo_path": "public/javascript/auth0-variables.js", "max_stars_repo_name": "pushpabrol/auth0-spa-progressive-profiling", "max_stars_repo_stars_event_min_datetime": "2020-10-29T04:50:47.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-29T04:50:47.000Z", "max_issues_repo_path": "public/javascript/auth0-variables.js", "max_issues_repo_name": "pushpabrol/auth0-spa-progressive-profiling", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/javascript/auth0-variables.js", "max_forks_repo_name": "pushpabrol/auth0-spa-progressive-profiling", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.5384615385, "max_line_length": 68, "alphanum_fraction": 0.7643229167}

const AUTH0_CLIENT_ID = 'your client_id';
const AUTH0_DOMAIN = 'domain.auth0.com';
const AUDIENCE = 'organise';
const SCOPE = 'openid profile email read:contacts read:calendar';
const AUTH0_CALLBACK_URL = 'http://app1.com:3000';
const AUTH0_CONNECTION = 'Username-Password-Authentication';
const CONTACTS_API_PORT = '3005';
const CALENDAR_API_PORT = '3002';
const APIS_HOST='http://app1.com';
const APP_BASE_URL='http://app1.com:3000';

const auth0WebAuth = new auth0.WebAuth({
  domain: AUTH0_DOMAIN,
  clientID: AUTH0_CLIENT_ID,
  redirectUri: AUTH0_CALLBACK_URL,
  responseType: 'id_token token',
  audience: AUDIENCE,
  scope: SCOPE
});

const auth0Authentication = new auth0.Authentication(auth0WebAuth, {
  domain: AUTH0_DOMAIN,
  clientID: AUTH0_CLIENT_ID
});
