mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 21:56:01 +03:00
[GH-ISSUE #3811] Change user session when using reverse proxy login #1328
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
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:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
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#1328
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 @leminh1545 on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3811
Originally posted by @leminh1545 in #3781
@leminh1545 commented on GitHub (Oct 22, 2025):
I realize that the session need to be call logout from cloudbeaver web not straight to cloudbeaver backend so that log out the current user session. Therefor, I can control it from my system web by post-message to cloudbeaver web to log out user, so this problem has been resolved.
@EvgeniaBzzz commented on GitHub (Oct 22, 2025):
Thanks for the update
@tyuhasbio5 commented on GitHub (Nov 6, 2025):
Hi @leminh1545 , we're using a home-made reverse proxy setup with nginx and are running into the same issue as you did with a new login bringing up the previous login's session. We are using Logout from the CloudBeaver web interface but are unsure what the endpoint for logout-url needs to happen for the session to end. If you wouldn't mind going a bit more into "by post-message to cloudbeaver web to log out user"? Thanks!
@leminh1545 commented on GitHub (Nov 7, 2025):
Hi @tyuhasbio5, I can provide for you as below:
To logout Cloudbeaver user session you need to call log-out api like this or use Cloudbeaver method if you could, but need to do on Cloudbeaver FE by including session information (credentials: "include")
With our system, we have built the main web with a domain https://... and Cloudbeaver web to another domain, then embbebed Cloudbeaver FE web by using Iframe Embbeding. So, our post-message method is sending a signal from the main web to Cloudbeaver FE web to log-out the current user login via reverse-proxy. Code as below:
@tyuhasbio5 commented on GitHub (Nov 7, 2025):
Thanks @leminh1545 ! This is extremely helpful as so far everything we tried did not log a user out from the CB session