diff --git a/src/backend/app/auth/osm.py b/src/backend/app/auth/osm.py index d64ebf561b..5435437683 100644 --- a/src/backend/app/auth/osm.py +++ b/src/backend/app/auth/osm.py @@ -85,4 +85,4 @@ async def login_required( log.error("Failed to deserialise access token") raise HTTPException(status_code=401, detail="Access token not valid") from e - return osm_user + return AuthUser(**osm_user)