Hi ALl, I have configured basic auth using: <doc>,...
# troubleshooting
v
Hi ALl, I have configured basic auth using: doc, The admin user is able to successfully login to controller UI, however non admin user not able to login, it says invalid username password but curl returns results. Is this expected ?
Copy code
curl -v -u user:secret http://stg-xxxxxxxxxx:9000/tables
*   Trying 10.xx.xx.xxx:9000...
* TCP_NODELAY set
* Connected to stg-xxxxxxxx (10.57.46.223) port 9000 (#0)
* Server auth using Basic with user 'user'
> GET /tables HTTP/1.1
> Host: stg-xxxxxxxx:9000
> Authorization: Basic dXNlcjpzZWNyZXQ=
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Pinot-Controller-Host: stg-xxxxxxx
< Pinot-Controller-Version: Unknown
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE
< Access-Control-Allow-Headers: *
< Content-Type: application/json
< Content-Length: 135
<
* Connection #0 to host xxxxxxx left intact
{"tables":["cmsCaseActivity","cmsCaseComment","cmsCaseLifecycleLog","cmsCaseSnapshot","cmsInvestigationNote","payment_payment","test"]}
n
IDK if this is by design but even I have faced this issue some time ago, and I found this is quite restrictive. I plan to figure out a way where even non admin users can access UI.
v
Thanks much @Nihal Jain