clerk
just created a new convex.dev & clerk app, and am trying to Sign Up with email, and provide a verification code
https://clerk.com/docs/testing/test-emails-and-phones
but it doesn't ask for code, it just waits for verification link to be clicked
Test emails and phones | Clerk
Write end to end tests by simulating OTP verifications.
4 Replies
Hey @burnstony#1975, this doesn't sound Convex specific, mind asking on Clerk's discord channel?
the clerk discord says to run
npx envinfo --system --browsers --binaries --npmPackages
than getting error:
convex/users.ts:27:18 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
27 .withIndex("by_token", (q) =>
~~
convex/users.ts:28:14 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
28 q.eq("tokenIdentifier", identity.tokenIdentifier)
~~~~~
Found 2 errors in the same file, starting at: convex/users.ts:27
Do you have
npx convex dev
working? If not you might have an issue in your code/schemajust figured it out - I neglected to hit Apply Changes when creating the JWT Template
Create a JWT Template
In the JWT Templates section of the Clerk dashboard tap on + New template and choose Convex
Copy the Issuer URL from the Issuer input field.
Hit Apply Changes.