[GH-ISSUE #2379] Can empty x-role ignored if it is empty when using header authentication? #770

Closed
opened 2026-03-07 20:54:26 +03:00 by kerem · 0 comments
Owner

Originally created by @abelmferreira on GitHub (Feb 12, 2024).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2379

Is your feature request related to a problem? Please describe.
We configured header authentication using just x-user header for login, and it is working correctly. But the roles manually configured via admin interface are removed if x-role is empty or not sended by the proxy.

Describe the solution you'd like
We don't have role controls in proxy side, it will be great if we can manually create a new user and set his roles, and use just x-user for authentication, keeping roles configurations unchanged.

Maybe just ignore x-role header if is empty or not exist, or maybe a enable/disable swtich for keep roles sended from proxy or ignore it.

Originally created by @abelmferreira on GitHub (Feb 12, 2024). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2379 **Is your feature request related to a problem? Please describe.** We configured header authentication using just x-user header for login, and it is working correctly. But the roles manually configured via admin interface are removed if x-role is empty or not sended by the proxy. **Describe the solution you'd like** We don't have role controls in proxy side, it will be great if we can manually create a new user and set his roles, and use just x-user for authentication, keeping roles configurations unchanged. Maybe just ignore x-role header if is empty or not exist, or maybe a enable/disable swtich for keep roles sended from proxy or ignore it.
kerem closed this issue 2026-03-07 20:54:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#770
No description provided.