Activate/Deactivate User not Working with Required Custom Attribute
Author: FelixDoblerCreated Sep 25, 2026Updated Sep 28, 2026
Labelsbug/confirmed
Describe the bug
After creating a User Object Attribute with Attribute is required set to True, Users can not be Activated or Deactivated from the User Overview Page anymore.
Even though the object attribute is present.
How to reproduce
- Create required user object attribute
- Create user with custom attribute present.
- (Try to) Deactivate User
Expected behavior
The user should be deactivated as normal.
Screenshots
Additional context
The user was created via SAML Federated Login in my case.
Inspecting the request in browser developer tools showed this response with a HTTP 400:
{"attributes_email_verified":["This field is required"]}Manually patching the web request body to include the required attribute allowed me to deactivate the user. From
{"is_active":false}to
{
"is_active":false,
"attributes":{
"email_verified":true
}
}Deployment Method
Kubernetes
Version
2026.8.3
Relevant log output
Source: goauthentik/authentik