DiamondLightSource / DiamondLightSource/i19serial-ui
Add a log in dialog
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
To be able to log in to blueapi when auth is on we need a solution similar to the one in GDA where there is a dialog which opens a link to keycloak for the login. Additionally there should be a logout button.
onClose on the UI will then have to automatically logout in case the user forgets to.
To do this use the `login`/`logout` in blueapi cli
## Acceptance Criteria
- SIt is possible to log in and out of i19-2-blueapi
Contributor guide
Research direction
No files or tests are named. Start by locating the PyQt UI entry point and the existing blueapi CLI login/logout commands, then compare the GDA login-dialog behavior referenced in the issue. Done means i19-2-blueapi can log in and out through the dialog, and closing the UI logs out automatically when needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100