Fix actor_id: use email not display name
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m25s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m25s
actor_id must match DB records — always use username (email). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -142,7 +142,7 @@ async def callback(request: Request):
|
||||
# Map OAuth response to artdag UserContext
|
||||
display_name = data.get("display_name", "")
|
||||
username = data.get("username", "")
|
||||
actor_id = f"@{display_name}" if display_name else f"@{username}"
|
||||
actor_id = f"@{username}"
|
||||
|
||||
user = UserContext(username=username, actor_id=actor_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user