Closed kcgthb closed 11 months ago
@kcgthb could you share which version of MATLAB proxy you are using?
Sure! It's 0.9.1
Thanks for trying out matlab-proxy, @kcgthb!
Can you confirm if this issue is recoverable? For example, does the token start to show up if you click Hide token
and then click View token
once after null
is displayed? This data point will help me to debug this issue faster. Thanks!
Thanks! As far as I can tell, when this happens, clicking alternatively on "hide token" and "view token" doesn't change the end result, the value displayed is always "null".
Thanks for the information! I have been trying various scenarios to reproduce this locally and have largely been unsuccessful. To further diagnose this issue, I would require some more information from your end.
View token
link.Follow the regular workflow to launch matlab-proxy with token authentication enabled and click the URL displayed from where you launched matlab-proxy.
On Chrome browser, click the Three-dot menu button to the right of the address bar and select More Tools > Developer Tools.
Select the Network tab.
Type get_auth_token in the text box under the Network tab.
On the Status information (where you see the View token link), click View token.
Verify that the get_auth_token request shows up in the network tab.
Verify that the response for get_auth_token contains your auth token. Please share the response, headers, etc for this HTTP request as well.
Thank you and looking forward to your response.
Thanks for the instructions! I actually haven't been able to reproduce it after some tries, and so far it looks like it may have been related to a local cookies issue. I'm going to close this for now and will make sure to capture HTTP requests and provide them here if I see this happening again. Thanks!
Summary
The authentication token is not displayed when clicking on "Show token" in "Status information" panel. It is displayed as "null" instead :
Please note that the status correctly says "Authenticated!", as the correct token is passed as a URL parameter in
http://localhost:8888/index.html?mwi_auth_token=mytoken
. The server is started with:Browser(s) used
Chrome, Firefox
Script output