jigarius / toggl2redmine

Import time from Toggl 2 Redmine.
GNU General Public License v3.0
26 stars 6 forks source link

Make all requests to Toggl from server-side, not client-side #49

Closed jigarius closed 5 years ago

jigarius commented 5 years ago

Making requests to Toggl from the client side requires the Toggl token to be available at the JavaScript level. To remove this necessity, simply make all requests to Toggl from Ruby and not using AJAX. Only some such requests are left now. This might even eliminate the need for domain whitelisting for CORS.

jigarius commented 5 years ago

Action taken