i am devolping a plugin that enables users to insert content (images, text snippets, ...) from a repository into a document.
The user needs a token to access the repository which i would like to pass in from document editor.
Is it possible?
I've tried a workaround to pass the token as url query parameter (some apache rewrite and other magic;) ) but the document server seems to cut off all query parameters when calling plugin's config.
Thanks for any help!
Supplement: The editor script and the plugin script are on different servers. So due to cross origin policy i cannot set/get a variable in the doceditor (parent) frame.