zenml icon indicating copy to clipboard operation
zenml copied to clipboard

Device login fails when using two accounts from same client machine

Open schustmi opened this issue 3 months ago • 0 comments

Contact Details [Optional]

No response

System Information

No response

What happened?

When trying to run zenml login <URL> from the same client machine to the same server, with different user accounts:

  • The web login starts, which creates an authorized device with the shared client ID
  • The user logs in as User A. The device gets associated with user A.
  • The user logs out.
  • The user starts the web login again. This finds a device with the client ID, and therefore reuses it. It is still assigned to User A.
  • The user in the UI logs in as User B.
  • This fails to fetch the device, as the device is associated with User A and therefore is not being fetched when logged in as User B.

Reproduction steps

No response

Relevant log output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

schustmi avatar Sep 18 '25 13:09 schustmi