Skip to content
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] It's not possible to access 2 admin uis at the same time (localplayground) #2890

Open
Emanuel-Palestino opened this issue Aug 23, 2024 · 1 comment
Labels
pkg: frontend Changes in the frontend package. type: bug Something isn't working

Comments

@Emanuel-Palestino
Copy link
Contributor

Bug Report

Describe the bug

When you run the local playground environment of Rafiki. Two different instances of Rafiki are executed.
If you want to open at the same time both Admin UIs. The second session overwrite the first one.

To Reproduce

  1. Run rafiki localenv environment (cloud nine and happy life).
  2. Acces to Admin UI of cloud nine.
  3. Acces to Admin UI of happy life in other browser tab.
  4. That's all. If you try to acces to cloud nine admin ui, the session has expired.

Expected behavior

I think the developer may be able to run both admin uis on the same browser, due to these are different servers (they are on different ports).
I guess the problem is related to the session cookies. I don't know if it's possible to make independent cookies based on ports.

System Specs

@Emanuel-Palestino Emanuel-Palestino added the type: bug Something isn't working label Aug 23, 2024
@mkurapov mkurapov added the pkg: frontend Changes in the frontend package. label Sep 10, 2024
@mkurapov
Copy link
Contributor

mkurapov commented Oct 2, 2024

Now, by default, we are not running kratos in the local playground, so this is only an issue for when you are starting up the local env with pnpm localenv:compose:adminauth ....

We can put this note in the local playground README (not rafiki.dev) - to say that if a developer wants to access both admin UIs at the same time, they'd have to use a different browser, or incognito/private mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: frontend Changes in the frontend package. type: bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants