03-06-2024 09:36 PM - edited 03-06-2024 09:39 PM
Does any one tried Grafana in SystemLink? I found it from Install Grafana for SystemLink Server Edition - NI
When managing Users I got some thing weird in the user list. It shows niuaId under user email and login while displaying nothing under the name.
And when we go to the "Edit user" menu, we can't change any of them under User Information might be caused by the Synced via Auth Proxy
I assume it's kind of bugs. Is there any way to figure out to fix it?
at least we can see First Name in the Name field
03-13-2024 11:21 PM
05-02-2024 11:23 PM - edited 05-02-2024 11:49 PM
I found that we could add a user name and other user information as header to Grafana during proxy authentication.
[auth.proxy]
enabled = true
header_name = X-Remote-User
header_property = username
auto_sign_up = true
;sync_ttl = 60
;whitelist = 192.168.1.1, 192.168.2.1
# Optionally define more headers to sync other user attributes
# Example `headers = Name:X-WEBAUTH-NAME Role:X-WEBAUTH-ROLE Email:X-WEBAUTH-EMAIL Groups:X-WEBAUTH-GROUPS`
headers = Name:X-WEBAUTH-NAME Email:X-WEBAUTH-EMAIL
# Read the auth proxy docs for details on what the setting below enables
;enable_login_token = false
And found in NI web server directory ... 57_Grafana.conf where the auth.proxy is performed:
RequestHeader set X-Remote-User expr=%{REMOTE_USER}
seems like the REMOTE_USER variables is the niauId number.
thanks to mure Carson who replied me on my posted issue
Question:
localhost/niauth/v1/auth
but How to implement it in "NI Web Server [*.conf] file" ?
05-03-2024 11:24 AM
I did observe this early on, but this was resolved when I switched to using SSO.
05-03-2024 05:33 PM