Skip to content

Data returned from the API on StagesApi().stages_invitation_invitations_create() fails validation #18

Description

@azazel75

With authentik_client version 2025.10.3 when using StagesApi().stages_invitation_invitations_create() the client raises the following error:

 1 validation error for PartialUser
username
  Value error, must validate the regular expression /^[\w.@+-]+$/ [type=value_error, input_value='Rossi Mario example', input_type=str]

... the username Rossi Mario example is a valid username

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions