return new Promise((resolve, reject) => { axios .get(base_server_url+'/auth/redirect') .then(res => resolve(res.data), err => reject(err)); });