-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Conda-store log out does not work #2717
Comments
Keycloak generates an access token that is stored in the cookies of the browser, each token is generated for a given domain (e.g I've seen a similar problem with authentication when refactoring the jupyterhub tests recently. Also the way the extension and the main app page works might need to be changed in terms of authentication. (editado) |
I believe the issue here is actually with jupyterhub-cond-store. It allows setting a login page variable, but not a logout page variable. As an example, on https://nebari.quansight.com, if I set a breakpoint on the logout js function, I see The login page url is properly set, but the logout page is using the default value. Currently Nebari specifies the login page in |
The inability to log out affects both the jupyterlab plugin and the react app for conda-store so that may be an important point, but I'm not sure that's the whole story. If you're running the conda-store-ui standalone, it sets the login and logout urls via a |
I opened a PR on the conda-store side which I believe will fix this issue. |
Describe the bug
Conda-store log out functionality does not work on Nebari in the both the react app and the jupyterlab plugin. Users can click the "log out" button, but they remain logged in.
The conda-store devs are reporting that this functionality works on main (commit 97dccd41b9fa5bbc9d2bfb5580429caeadc4b28a -
conda-incubator/conda-store#684. This leaves me to believe its likely some issue with how Nebari is routing the authentication.
When you log into conda-store, you get routed to the keycloak auth interface for login, and back again (to either the conda-store react app or jupyterlab). My guess is that routing isn't happening with the logout button.
Expected behavior
I expect to be able to log out of conda-store.
OS and architecture in which you are running Nebari
AWS/GCP
How to Reproduce the problem?
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
This is particularly important now that we have fine-grained permissions implemented in Nebari. If I change a user's conda-store permissions, they must log out of conda-store in order for them to take effect.
The workaround is to ask users to clear their browser cache or use incognito to effectively log them out 😓
The text was updated successfully, but these errors were encountered: