ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.41k stars 257 forks source link

"Input should be a valid string" when using LDAP #617

Open Elbullazul opened 3 weeks ago

Elbullazul commented 3 weeks ago

Description When logging in with an LDAP user, I get the following error:

pydantic_core._pydantic_core.ValidationError: 1 validation error for Token
  access_token
    Input should be a valid string [type=string_type, input_value=<auth_server.db.models.Us...bject at 0x7f1ffef023b0>, input_type=User]
      For further information visit https://errors.pydantic.dev/2.5/v/string_type

and I can't log in.

Info: