Next.js Discord

Discord Forum

Clerk adds (unwanted) redirects on ALL the pages

Unanswered
English Lop posted this in #help-forum
Open in Discord
English LopOP
Clerk adds redirects to all pages.

We have our app with auth residing at /dashboard
We have some marketing and information pages residing at /

Clerk does add a redirect to EVERY page. We tried adjusting the middleware. We moved the Clerk-Wrapper away from all layouts except for /dashboard. All without effect. The redirect is triggered always. Crushing some metrics like Best Practices down to 70.

Anyone got pointers on how to solve this?

0 Replies