## Context
After Google social login, the user is not redirected to the app page unless authMiddleware has a custom afterAuth function.

## Verified resolution
Community resolution: add an explicit afterAuth handler that returns NextResponse.next() for public routes (or the desired redirect); several engineers confirmed this makes Next 14 + tRPC + Clerk behave. The original reporter later closed the issue after their login flow changed and library updates. Lesson: do not assume the default post-OAuth redirect - wire afterAuth explicitly.