IsmailKI
Convex Community2y ago
27 replies
IsmailK

Failed to authenticate No auth provider found matching the given token, check your server auth con

I followed the docs and setup auth with convex and clerk in my nextjs project, but I keep getting the same error.

Here below you can see some code snippets and the console logs.

The jwt token is showing up in the console but the auth error is still there.

On the backend I did set the auth.config.ts and also copied the jwt template from clerk. But I am still stuck.

Does anyone have a clue of what might be wrong?
IMG_20240309_001216_866.jpg
IMG_20240309_001239_209.jpg
IMG_20240309_001426_777.jpg
IMG_20240309_001207_930.png
Was this page helpful?