[GH-ISSUE #2944] GQL Error: Sign In always comes up once logged out and when we try to login again #1029

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

Originally created by @JayasreeReddy20 on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2944

I have setup the oauth2-proxy logout url oauth2/sign_out which works perfectly fine and it expires the current session. But, when I try to sign-in using a new tab or window, it takes me to this error GQL Error: Sign In again and again till I clear my browser history to login again.

image

My cloudbeaver server configuration has "expireSessionAfterPeriod": 1800000, which is ~30min and I see the default configuration of oauth2-proy as follows,
reference url https://github.com/oauth2-proxy/oauth2-proxy/blob/master/contrib/oauth2-proxy.cfg.example
cookie_name = "_oauth2_proxy", cookie_expire = "168h"

Is there something that I'm missing or need to changes the expiry time?
I feel that, once I logout it has to give a proper logout message like "you are logged out or something" and has to take me to new sign in once I initiate a new login.

I have went through the similar issue raised earlier https://github.com/dbeaver/cloudbeaver/issues/2248 but felt like still need some help :)

Originally created by @JayasreeReddy20 on GitHub (Sep 27, 2024). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2944 I have setup the oauth2-proxy logout url ``` oauth2/sign_out``` which works perfectly fine and it expires the current session. But, when I try to sign-in using a new tab or window, it takes me to this error **GQL Error: Sign In** again and again till I clear my browser history to login again. ![image](https://github.com/user-attachments/assets/fc02f87a-4e80-444c-ac4e-15d8d522713f) My cloudbeaver server configuration has **"expireSessionAfterPeriod": 1800000,** which is ~30min and I see the default configuration of oauth2-proy as follows, reference url https://github.com/oauth2-proxy/oauth2-proxy/blob/master/contrib/oauth2-proxy.cfg.example ```cookie_name = "_oauth2_proxy", cookie_expire = "168h"``` Is there something that I'm missing or need to changes the expiry time? I feel that, once I logout it has to give a proper logout message like "you are logged out or something" and has to take me to new sign in once I initiate a new login. I have went through the similar issue raised earlier https://github.com/dbeaver/cloudbeaver/issues/2248 but felt like still need some help :)
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#1029
No description provided.