Version
Waldur 8.0.9-rc.26
Deployment
Docker Compose under rootless Podman
Description
For users created via OIDC, editing the username through the UI appears to succeed, but the username is not updated.
Other editable fields (for example is_staff) are saved correctly.
Steps to reproduce
- Log in as a staff user.
- Navigate to Support → Users.
- Edit an OIDC-created user.
- Change the username to a valid lowercase value.
- Save the user.
Expected behaviour
The username should be updated.
Actual behaviour
The request returns 200 OK, but the username remains unchanged.
The PATCH request payload contains the updated username, for example:
{
"username": "lthomsonupdated",
...
}
However, the response immediately returns the original username:
{
"username": "lthomson",
...
}
The username in the core_user table is also unchanged after the PATCH request.
As a diagnostic step, updating core_user.username directly in PostgreSQL succeeds immediately, and the updated username is reflected in the UI. This suggests the issue is not a database constraint, but occurs during the normal API save process.
Additional information
The affected users were created via OIDC (registration_method: "keycloak" in this deployment).
Version
Waldur 8.0.9-rc.26
Deployment
Docker Compose under rootless Podman
Description
For users created via OIDC, editing the username through the UI appears to succeed, but the username is not updated.
Other editable fields (for example
is_staff) are saved correctly.Steps to reproduce
Expected behaviour
The username should be updated.
Actual behaviour
The request returns
200 OK, but the username remains unchanged.The PATCH request payload contains the updated username, for example:
{ "username": "lthomsonupdated", ... }However, the response immediately returns the original username:
{ "username": "lthomson", ... }The username in the
core_usertable is also unchanged after the PATCH request.As a diagnostic step, updating
core_user.usernamedirectly in PostgreSQL succeeds immediately, and the updated username is reflected in the UI. This suggests the issue is not a database constraint, but occurs during the normal API save process.Additional information
The affected users were created via OIDC (
registration_method: "keycloak"in this deployment).