Hello Everyone,
I am working on a plugin for Obsidian (obsidian.md). Obsidian is an Electron app, so I can use node and be happy with it.
So far I have been able to create a new Electron Browser window, log in to Asana and get the code, but when I call
client.useOauth();
client.app.accessTokenFromCode(code);
Then I get a CORS error. In the error I can see that the origin of the call is app://obsidian.md
which does not match my return url.
Is there any suggestions you have on how to use the Asana node library from a third-party app and avoid the CORS issues? I am not doing the POST request by myself, but using the provided function.
Thanks
Carlo