dstackai / dstack

dstack is an open-source alternative to Kubernetes, designed to simplify development, training, and deployment of AI across any cloud or on-prem. It supports NVIDIA, AMD, and TPU.
https://dstack.ai/docs
Mozilla Public License 2.0
1.32k stars 98 forks source link

[Bug]: Users logged out after rotating their tokens without seeing tokens #1568

Open r4victor opened 1 month ago

r4victor commented 1 month ago

Steps to reproduce

  1. Rotate a token via UI of a currently logged in user.
  2. The UI shows "Token rotating is successful" message but the new token is not displayed. After page is updated, the user is logged out and cannot log in again without contacting global admin.

The /api/users/refresh_token endpoint returns a new token. The frontend should display that token and also make it a new session token so that user is not logged out.

Actual behaviour

No response

Expected behaviour

No response

dstack version

master

Server logs

No response

Additional information

No response

github-actions[bot] commented 3 days ago

This issue is stale because it has been open for 30 days with no activity.