AlcadeusA
Convex Community17mo ago
12 replies
Alcadeus

Bug when using convex auth with password

Not sure if this is a bug but when following the docs https://labs.convex.dev/auth/config/passwords#add-sign-in-form for using convex auth with passwords, but when doing a sign up via the sign in function, I am getting back an error about the providerID? It should be created right?
Uncaught Error: Uncaught Error: Index authAccounts.providerAndAccountId not found.
    at createAccountFromCredentialsImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/createAccountFromCredentials.js:26:34)
    at storeImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/index.js:93:8)
    at handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:280:12)

    at async createAccount (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:327:0)
    at async authorize [as authorize] (../../node_modules/@convex-dev/auth/dist/providers/Password.js:52:20)
    at async handleCredentials (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:102:19)
    at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
Authentication library for your Convex backend
Was this page helpful?