- Fix bug with setting auth cookies on Next.js response
- Improve error handling when calling Convex auth functions from Next.js
- Add a 10s reuse window for refresh tokens
Note: After upgrading to this version, downgrading will require migrating
the authRefreshTokens
table to drop the firstUsedTime
field.
- Fix exported type for
signIn
fromconvexAuth
- [Next.js] Propagate auth cookies in middleware follow up
- Introduce
convexAuth.isAuthenticated()
andconvexAuth.getToken()
in favor ofisAuthenticatedNextJs()
andconvexAuthNextJsToken()
for middleware.
- [Next.js] Propagate auth cookies in middleware
- [Next.js] Match auth routes to proxy to Convex with and without trailing slash
- Add verbose logging to Next.js middleware
- Fix issue with re-entrant
fetchAccessToken
with a mutex
Previous versions are documented in git history.