onmetal-dev / metal

bare metal PaaS
https://www.onmetal.dev
GNU Affero General Public License v3.0
4 stars 0 forks source link

basic user schema that syncs with Clerk #5

Closed rgarcia closed 7 months ago

rgarcia commented 7 months ago

Currently there are zero interactions with the db. Login/logout/register are all implemented, so it might be a good time to figure out storing some kind of user object in our db. Clerk has some docs on best practices around this. It seems like a webhook might be necessary? I hope not

https://clerk.com/docs/integrations/webhooks/sync-data

linear[bot] commented 7 months ago

MET-14 basic user schema that syncs with Clerk

rgarcia commented 7 months ago

for now I did it in a hacky way, but in the future we probably want webhooks: ae54327