Barazo AppView backend barazo.forum

fix(auth): upsert user row on OAuth callback before profile sync (#101) master

The auth callback relied on profileSync.syncProfile() to create the user row, but that method only does an UPDATE -- silently no-oping for first-time logins. Now the callback upserts the user row (with DID and handle) before firing profile sync, so the row exists for the subsequent profile UPDATE and all downstream queries. Fixes barazo-forum/barazo-workspace#XX


+37
2 changed files