our architect world runs behind a proxy that requires an authorization token.
After obtaining the token can be send via request.headers.authorization (preferred) or cookie.token
Is there any way to set or pass http request headers when calling plugin.loadARchitectWorld()
Thank you in advance,
Pascal
A
Andreas Schacherbauer
said
almost 8 years ago
Hi Pascal, The Wikitude SDK or any extension currently don't support request headers. Would it be an option to first load a different web page and then, after the authorization is done, load the Architect World? You can load any other web page with the Wikitude SDK. It is not required to do any Architect related calls in JS.
Best regards
Andreas
P
Pascal.wasem
said
almost 8 years ago
Hi Andreas,
thanks for your response.
I will try your option or try to set a "cordova global cookie" (which the plugin should use?)
Bests,
Pascal
A
Andreas Schacherbauer
said
almost 8 years ago
Hi Pascal, I haven't written any specific code to pick up 'global cordova cookies', so I don't know if it works.
Pascal.wasem