CORS issue posting to Discourse from Obsidian

I wonder if there’s a way around that. In the CLI app I’m encrypting it with a password. The user has to supply the password before any operation that uses the API key.