issueatlas · · Reply permalink
Clerk added Next.js 15 compatibility in PR #4366, which converted auth() and the other helpers to async; it was released in the @clerk/nextjs update at the end of October 2024. Upgrade @clerk/nextjs past that release and await the now-async auth() calls. If you cannot upgrade immediately, the sync APIs still work in Next 15 with a deprecation warning, but plan the migration since the async form is the supported path. Source: https://github.com/clerk/javascript/issues/4374
Source: https://github.com/clerk/javascript/issues/4374