I posted a similar (unanswered question). But actually the issue here is a different one: NTLM
In my plugin I need to query a REST API, which runs on a CORS sensitive server with self-signed certificate. Re quest need to be NTLM authenticated.
- With general typescript means (axios-ntlm) I collide with CORS.
- Implementing a local proxy in the plugin crashes with a strange require_stream is not a function error for express.
- For the probably best and indented way with Obsidian’s requestUrl method I do not find a way to use NTLM authentication. Is there an undocumented arg, a way to apply a custom httpsAgent or any other hack?
Any help, especially with option 3 is very much appreciated. Or can I see the source code of obsidians requestUrl to learn how to avoid the CORS within obsidian?
thx