Call developer API while disableBasicAuth
namlh-eureka opened this issue · comments
Describe the bug
Cannot call Developer API when set disableBasicAuth
System Description
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Linux vnc-trial-1 6.2.0-1018-aws #18~22.04.1-Ubuntu SMP Wed Jan 10 22:54:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
KasmVNC Details
Xvnc KasmVNC 1.2.0.2af2e661e9906b5778644f6e2fbe1f51cebb337a - built Sep 13 2023 23:49:36
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12008000, The X.Org Foundation
To Reproduce
- I disable basic auth by using
-disableBasicAuth
- Call
http://{ip}:{port}/api/get_bottleneck_stats
got401 Unauthorized
- Try call
http://{ip}:{port}/api/get_bottleneck_stats
with basic auth username:password of kasmvnc but also got401 Unauthorized
Expected behavior
- Can call developer API without any auth
Browser
- Browser chrome