Help fix the password auth in my sveltekit example
The official auth demo is using react: https://labs.convex.dev/auth/config/passwords
I tried that in a new sveltekit app, but got some problems, please help me find out where I'm wrong.
layout to init convex filename=src/routes/+layout.svelte:
UI to render the form filename=src/routes/+page.svelte:
Server to handle auth params filename=src/routes/+page.server.ts:
Passwords - Convex Auth
Authentication library for your Convex backend
1 Reply
react is too difficult for me, in my demo app, the login action can receive form data, but the signIn method from
auth.js
require a GenericActionCtx
, I don't know what's that