#I'm getting this error in the console when I try to sign in with Clerk

7 messages · Page 1 of 1 (latest)

midnight sigil
#

Failed to authenticate: "No auth provider found matching the given token", check your server auth config

I have successfully added all the env variables to the convex dashboard such as the issuer domain and I am able to get the user to sign but im still getting this error and when I try to checkuseridentity in a mutation I'm getting null

ember wolf
midnight sigil
#

Hey @ember wolf, this is what I have in that file
export default { providers: [ { domain: process.env.CLERK_JWT_ISSUER_DOMAIN, applicationID: "convex", }, ], };

#

Also useConvexAuth is returning false

#

Also the framework I'm using is nextjs 13

hasty cargo
#

I'm getting this same issue, and I'm pasting the key inline so there's no .env problems

#

Ah! auth.config.js has to be js, can't be ts. A warning or error in the console would be really helpful here.