Read Discord names and avatars from flattened JWT claims (#216)

Convex flattens nested JWT claims into dotted keys, so Supabase's
user_metadata arrives as identity["user_metadata.full_name"] and friends,
never as an object. Presence only looked for the object, found nothing,
and every Discord user fell back to their email name with no picture.
Read the dotted keys (and nested forms, in case a provider sends them),
and test the shape Convex actually produces.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
87b10f9bd7Dara Adedeji committed on 9/27/2026, 9:42:28 PM· committed by GitHubparent5b0abd0
2 files changedLine totals unavailable