@@ -69,6 +69,8 @@ module.exports = {
6969 NEW_CHALLENGE_DURATION_IN_DAYS : process . env . NEW_CHALLENGE_DURATION_IN_DAYS || 5 ,
7070 TC_URL : process . env . TC_URL || 'https://www.topcoder-dev.com' ,
7171 GITLAB_API_BASE_URL : process . env . GITLAB_API_BASE_URL || 'https://gitlab.com' ,
72+ AZURE_API_BASE_URL : process . env . AZURE_API_BASE_URL || 'https://app.vssps.visualstudio.com' ,
73+ AZURE_DEVOPS_API_BASE_URL : process . env . AZURE_DEVOPS_API_BASE_URL || 'https://dev.azure.com' ,
7274 ISSUE_LABEL_PREFIX : process . env . ISSUE_LABEL_PREFIX || 'tcx_' ,
7375 PAID_ISSUE_LABEL : process . env . PAID_ISSUE_LABEL || 'tcx_Paid' ,
7476 FIX_ACCEPTED_ISSUE_LABEL : process . env . FIX_ACCEPTED_ISSUE_LABEL || 'tcx_FixAccepted' ,
@@ -93,5 +95,15 @@ module.exports = {
9395 TOKEN_CACHE_TIME : process . env . TOKEN_CACHE_TIME || 43200 ,
9496 AUTH0_CLIENT_ID : process . env . AUTH0_CLIENT_ID ,
9597 AUTH0_CLIENT_SECRET : process . env . AUTH0_CLIENT_SECRET ,
96- AUTH0_PROXY_SERVER_URL : process . env . AUTH0_PROXY_SERVER_URL
98+ AUTH0_PROXY_SERVER_URL : process . env . AUTH0_PROXY_SERVER_URL ,
99+
100+ AZURE_ACCESS_TOKEN_DEFAULT_EXPIRATION : 3600 * 24 * 14 ,
101+ AZURE_REFRESH_TOKEN_BEFORE_EXPIRATION : 300 ,
102+ AZURE_OWNER_CALLBACK_URL : '/api/v1/azure/owneruser/callback' ,
103+ AZURE_CLIENT_SECRET : process . env . AZURE_CLIENT_SECRET ,
104+
105+ // used as base to construct various URLs
106+ WEBSITE : process . env . WEBSITE || 'http://topcoderx.topcoder-dev.com' ,
107+ WEBSITE_SECURE : process . env . WEBSITE_SECURE || 'https://topcoderx.topcoder-dev.com' ,
108+
97109} ;
0 commit comments