Add role map support for proxy auth (#19758)

* update config

* add role map support

* docs
This commit is contained in:
Josh Hawkins
2025-08-25 17:58:41 -05:00
committed by GitHub
parent ed9d031e80
commit 22e981c38c
4 changed files with 80 additions and 20 deletions
+7 -1
View File
@@ -88,7 +88,13 @@ proxy:
# See the docs for more info.
header_map:
user: x-forwarded-user
role: x-forwarded-role
role: x-forwarded-groups
role_map:
admin:
- sysadmins
- access-level-security
viewer:
- camera-viewer
# Optional: Url for logging out a user. This sets the location of the logout url in
# the UI.
logout_url: /api/logout