ianpaschal
CCConvex Community
•Created by ianpaschal on 4/6/2025 in #support-community
Help understanding 'Validator error: Expected ID for table...'
I'm afraid I don't follow... Wouldn't the subsequent .get() for the referenced ID also throw that error?
9 replies
CCConvex Community
•Created by ianpaschal on 4/6/2025 in #support-community
Help understanding 'Validator error: Expected ID for table...'
Because it seems like if
id
is a legitimate ID, it will return the Doc
and if it's not, it will throw an error.9 replies
CCConvex Community
•Created by ianpaschal on 4/6/2025 in #support-community
Help understanding 'Validator error: Expected ID for table...'
I don't think the code helps. It's a pretty abstract question.
Basically I'm trying to understand why calling
ctx.db.get(id)
would ever return null
.9 replies
CCConvex Community
•Created by ianpaschal on 4/6/2025 in #support-community
getAuthUserId behaves oddly
I think I've solved my question. I sort of instinctively started filling in
withIdentity({ _id: 'foo' })
but what I should have done is withIdentity({ subject: 'foo' })
4 replies
CCConvex Community
•Created by Matt on 3/24/2025 in #support-community
Convex Auth - reset password when logged in
Email update is a little bit more of an issue, and probably a GDPR liability as emails are basically PII by definition. Granted, I know that's what "Beta" means, but consider this my formal request to say "Pretttttty pleeeeasseeee".
I'll see if I can make a PR, but the whole benefit of using something like Convex is a bit about not having to re-build this sort of typical functionality myself. For me, password reset is of course a "nice to have" rather than "core feature" but my project isn't an authentication provider 😛
8 replies
CCConvex Community
•Created by Matt on 3/24/2025 in #support-community
Convex Auth - reset password when logged in
For now I'll probably actually just disable the reset page I built entirely because indeed I imagine 99% of the time password resets are going to come from users who forgot their password, not ones who are signed in and decided to change it.
8 replies
CCConvex Community
•Created by Matt on 3/24/2025 in #support-community
Convex Auth - reset password when logged in
That's a bummer but I appreciate the response!
I am kind of surprised though as it seems like this is such basic functionality that it would have been like literally the very next thing built after adding password sign in. I would consider it a necessary feature to call password authentication "ready to release", not "feature rich." Seems shocking its not on the roadmap especially since Convex auth is new, not like, sunsetting or phasing out or whatever.
8 replies
CCConvex Community
•Created by Matt on 3/24/2025 in #support-community
Convex Auth - reset password when logged in
I have this issue too. I want authenticated users to be able to change their email or password while logged in.
8 replies
CCConvex Community
•Created by ianpaschal on 3/14/2025 in #support-community
Sign in & sign up work on cloud dev, error on production
Huh, that fixed it it seems. I guess it sets all those env vars in the prod environment if you run it with the
--prod
flag?6 replies
CCConvex Community
•Created by ianpaschal on 3/14/2025 in #support-community
Sign in & sign up work on cloud dev, error on production
This one?
npx @convex-dev/auth --prod
I don't recall, so I gave it a try and all my files looked as the wizard said they should.6 replies
CCConvex Community
•Created by ianpaschal on 2/25/2025 in #support-community
How to re-organize api structure?
Nice, that looks very sensible. Thanks for sharing!
6 replies
CCConvex Community
•Created by ianpaschal on 2/25/2025 in #support-community
How to re-organize api structure?
That's not really practical IMO. It will make a single file hundreds and hundreds of lines long.
6 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
Which I guess could be a workaround right now, but the documentation seems to suggest this is not needed and in later when using the inferred types it would be nice to not have
| undefined
for username and the visibilities :/31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
This is what it looks like. Which works fine, so long as all fields but email are optional.
31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
I took most of those fields out as they're neither needed or actively confusing (name instead of givenName and username), etc.
31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
It all seems to work if those fields are optional. If they are required, something goes wrong...
31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
yup!
31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
However this seems to be a bug in that case...
31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)

31 replies
CCConvex Community
•Created by ianpaschal on 2/23/2025 in #support-community
Convex Auth: How to add custom data to signIn() (or up)
yup!
31 replies