You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clerk was giving me a 404 on redirect to '/' (and other routes) after trying to use OAuth.
The fix was to change the folder structure for Clerk sign-in and sign-up to include a catch-all segment.
The following replacements needed to be made: src/app/sign-in/page.tsx -> src/app/sign-in/[[...sign-in]]/page.tsx src/app/sign-up/page.tsx -> src/app/sign-up/[[...sign-up]]/page.tsx
Clerk was giving me a 404 on redirect to '/' (and other routes) after trying to use OAuth.
The fix was to change the folder structure for Clerk sign-in and sign-up to include a catch-all segment.
The following replacements needed to be made:
src/app/sign-in/page.tsx
->src/app/sign-in/[[...sign-in]]/page.tsx
src/app/sign-up/page.tsx
->src/app/sign-up/[[...sign-up]]/page.tsx
See the Clerk quick start for more info: https://clerk.com/docs/quickstarts/nextjs#build-your-sign-in-page
The text was updated successfully, but these errors were encountered: