PietroP
Convex Community5mo ago
2 replies
Pietro

When running locally, anonymous the auth.config.ts is ignored by Convex?

I'm running an app locally in anonymous mode and my authentication defined in convex/auth.config.ts is not provisioned. This works fine when running on local or cloud versions. The message I get on the console is:

*Failed to authenticate: "No auth provider found matching the given token (no providers configured). Check convex/auth.config.ts.", check your server auth config
*

npx convex dev -v --local also produces this:

Skipping convex/auth.config.ts that contains multiple dots

Please advise if you have any tips.
Cheers
Pietro
Was this page helpful?