Skip to content

antoineol/convex-jwt

Repository files navigation

This repo is a minimal reproduction of a convex issue about custom JWT auth: get-convex/convex-js#108

It uses convex cloud dev env.

Getting Started

git clone https://github.com/antoineol/convex-jwt.git
cd convex-jwt
git checkout loop-refetch
bun install
bun dev

Open http://localhost:3000 and notice it's continuously fetching the token.

Now, go to branch "experiment" that uses convex.setAuth instead of ConvexProviderWithAuth, and now it works.

Note: .env.local is versioned on purpose, so that you have the full environment to reproduce the issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published