#should i write a custom device authorization flow using convex auth?

1 messages · Page 1 of 1 (latest)

viscid harbor
#

i want to authenticate users through the terminal, so wondering if this is the way to go.

indigo gorge
#

hey @viscid harbor sorry I might not be the right person to ask about convex auth its not something I have done too deep on the internals for

#

I can suggest looking at the #better-auth version being maintained by @clear bloom. Better Auth has some really great docs and potentially something around terminal auth..

viscid harbor
#

better auth was my first go-to, but i wanted to try convex-auth since it's in beta tho i assume you guys probably dont recommend it for production

clear bloom
#

Both are good for production

#

Convex auth isn't set up for use through the terminal specifically, not sure if Better Auth has a guide or anything for it either

#

Maybe via the api key plugin

viscid harbor
#

better-auth doesn't have a built-in device auth flow, just like convex-auth. that's why i've been considering using convex-auth. i mean, rather than creating a custom setup on better-auth, why not do it on convex-auth? 😄