Skip to content

Clicking "Show token" in "Status information" displays "null" #26

@kcgthb

Description

@kcgthb

Summary

The authentication token is not displayed when clicking on "Show token" in "Status information" panel. It is displayed as "null" instead :
image
image

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:

$ env MWI_APP_PORT=8888 MWI_APP_HOST="0.0.0.0" MWI_ENABLE_TOKEN_AUTH="True" MWI_AUTH_TOKEN="mytoken" matlab-proxy-app

Browser(s) used

Chrome, Firefox

Script output

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                     MATLAB
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

matlab - /share/software/user/restricted/matlab/R2022b/bin/matlab OK

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                matlab-proxy-app
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

matlab-proxy-app - /share/software/user/open/py-matlab-proxy/0.9.1_py39/bin/matlab-proxy-app OK

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                           Python and pip executables
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

python - /usr/bin/python OK

Python 2.7.5

pip - /share/software/user/open/python/3.9.0/bin/pip OK

pip 23.3.1 from /share/software/user/open/python/3.9.0/lib/python3.9/site-packages/pip (python 3.9)

python3 - /share/software/user/open/python/3.9.0/bin/python3 OK

Python 3.9.0

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                      Xvfb
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Xvfb - /share/software/user/open/x11/7.7/bin/Xvfb OK

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                 OS information
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Linux
3.10.0-1160.92.1.el7.x86_64
Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.17
uname_result(system='Linux', node='sh03-ln05.stanford.edu', release='3.10.0-1160.92.1.el7.x86_64', version='#1 SMP Tue Jun 20 11:48:01 UTC 2023', machine='x86_64')


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                               Conda information
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

conda - None

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                               Installed packages
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/usr/bin/python: No module named pip

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             Environment variables
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

__LMOD_STACK_MATLABDIR=L3NoYXJlL3NvZnR3YXJlL3VzZXIvcmVzdHJpY3RlZC9tYXRsYWIvUjIwMjJi
MATLABPATH=/share/software/user/restricted/matlab/R2022b/toolbox/local/sherlock
MATLABDIR=/share/software/user/restricted/matlab/R2022b
__LMOD_STACK_MATLAB_JAVA=L3NoYXJlL3NvZnR3YXJlL3VzZXIvcmVzdHJpY3RlZC9tYXRsYWIvUjIwMjJiL3N5cy9qYXZhL2pyZS9nbG54YTY0L2pyZQ==
__LMOD_STACK_MATLABPATH=L3NoYXJlL3NvZnR3YXJlL3VzZXIvcmVzdHJpY3RlZC9tYXRsYWIvUjIwMjJiL3Rvb2xib3gvbG9jYWwvc2hlcmxvY2s=
MATLAB_PREFDIR=/lscratch/kilian/.matlab
MATLAB_JAVA=/share/software/user/restricted/matlab/R2022b/sys/java/jre/glnxa64/jre
__LMOD_STACK_MATLAB_PREFDIR=L2xzY3JhdGNoL2tpbGlhbi8ubWF0bGFi

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions