mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
CloudBeaver behind oauth2-proxy does not recognize SSO #964
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sathwick-p on GitHub (Aug 18, 2025).
CloudBeaver behind oauth2-proxy does not recognize SSO; shows local login or “Please configure authentication methods” after removing local provider
Environment
dbeaver/cloudbeaver:25.1CloudBeaver server reports:
CloudBeaver CE Server 25.1.4.202508041622oauth2-proxy 7.11.0(OIDC with Microsoft Entra)oauth2-proxy; upstream is the CloudBeaver Service (port 80)CloudBeaver deployment (Kubernetes)
oauth2-proxy configuration (key args)
CloudBeaver configuration notes
/opt/cloudbeaver/conf/cloudbeaver.conf/opt/cloudbeaver/workspace/.data/.cloudbeaver.runtime.confRepresentative base config excerpts (as seen inside the pod):
There is also a repository JSON with reverse proxy provider configuration (
values/us/cloudbeaver.runtime.conf.json) that includes:Steps to reproduce
https://cloudbeaver-qa.<domain>.io.Expected behavior
After successful OIDC authentication at oauth2-proxy, CloudBeaver should recognize the forwarded auth headers and log the user into CloudBeaver using the reverse proxy provider, without showing the local login form or the “configure authentication methods” screen.
Actual behavior
Relevant logs
CloudBeaver (startup and requests):
oauth2-proxy:
Additional context
cloudbeaver-qa.<domain>.ioto theoauth2-proxyService; oauth2-proxy upstream is the CloudBeaver Service on port 80.localprovider from CloudBeaver, the UI displays: “Authentication — Please configure authentication methods.”@EvgeniaBzzz commented on GitHub (Aug 18, 2025):
Could you please verify that
/opt/cloudbeaver/workspace/.data/.cloudbeaver.runtime.confactually contains the values fromvalues/us/cloudbeaver.runtime.conf.jsonafter the pod has restarted (i.e. that it is still properly mounted/applied)?“Please configure authentication methods” is expected for now when the local provider is disabled (as proxy doesn't have ui tab). You won’t see it once the proxy is working.