Hello Dev team,

My doubt is regarding passing the authToken in the header instead of query
parameters.
Currently, I am passing the authToken as query params like
"{guacServerURL}/#client/{connectionId}/token?{authToken}". and changing
the current window.location.href to this one and it works fine as VM i am
able to connect to the VM.
But now I want to pass it in headers, I referred to this PR:
https://github.com/apache/guacamole-client/pull/649 , and we can't send
headers in href or window.open. So i tried making GET call (used ajax,
fetch, XMLHTTP to pass the token in headers) for this URL and generating
the page with the response. But then it is not working as it gives  403.
How should i proceed?

Thanks, & regards
Ankit

Reply via email to