#Uncaught Error: Provider password is not configured
52 messages · Page 1 of 1 (latest)
its so annoying 😩
literally just following the docs
import Google from '@auth/core/providers/google'
import { Password } from '@convex-dev/auth/providers/Password'
import { convexAuth } from '@convex-dev/auth/server'
import { ResendOTP } from './ResendOTP'
export const { auth, signIn, signOut, store } = convexAuth({
providers: [Google, Password({ verify: ResendOTP })],
})
even when checking form data here
it all exists
onSubmit(event) {
event.preventDefault()
const formData = new FormData(event.currentTarget)
console.log(Object.fromEntries(formData))
void signIn('password', formData).then(() => {
navigate(
ROUTES.auth.emailVerification(formData.get('email') as string)
)
})
},
even when removing resend part
still doesn't work
same error
im gonna rip my hair out
@half lava @mortal hedge
save me

i saw i missed the hidden flow input
still same error
<input name="flow" type="hidden" value="signUp" />
i now include it
Check out that line at the top of the stack trace
I would log from getProviderOrThrow to get a clue on what's happening exactly
i think i know why
looking at other support issues
i dont have password in the auth table
yeah
that's likely it
good find
maybe tho!
still would love to know how imma configure my schema
for each provider
im struggling with this for hours
jeez
actually
wait a second
do i need to run convex in a separate terminal
maybe thats why im having all these issues
playing around with it
but no more luck
need to start my work day
export const { auth, signIn, signOut, store } = convexAuth({
providers: [
Google,
Password({
id: 'password',
profile: (args) => {
console.log('args', args)
return {
name: 'test',
email: 'test',
image: 'test',
}
},
}),
],
callbacks: {
async createOrUpdateUser(ctx, args) {
if (args.existingUserId) {
return args.existingUserId
}
if (!args.profile.name) {
console.error('No name in profile', args.profile)
}
return ctx.db.insert('users', {
name: args.profile.name,
email: args.profile.email,
image: args.profile.image,
})
},
},
})
You would need the dev server running so your code is deploying, and your auth.config.js/ts setup as well