You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A GET request to /api/user/token/ resulted in a 500 status, and threw the following errors:
ValueError: You have multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user.
AttributeError: 'User' object has no attribute 'backend'
I have an idea for a quick fix but the clean solution would be to remove the calls to /token completely - we do not need them for the frontend anymore.
Is there any more context provided in sentry? I can not reproduce this reliably in my dev environment.
Activity
SchrodingersGat commentedon Mar 1, 2025
@matmair I am assuming this is related to the recent auth API refactor - can you please take a look?
matmair commentedon Mar 1, 2025
I have an idea for a quick fix but the clean solution would be to remove the calls to /token completely - we do not need them for the frontend anymore.
Is there any more context provided in sentry? I can not reproduce this reliably in my dev environment.
[API] Auth login error
[API] Auth login error (#9212)
[API] Auth login error (inventree#9212)
increase character limits on all link fields to 2000 (#9131)