[SELF-HOSTED] User not authenticated, redirecting to login constantly
Author: TreeSlothsCreated Mar 9, 2026Updated Aug 16, 2026
Labels🐛 Bug
The configuration of simple fields results in errors such as the following:
Error in tRPC handler (edge)
TRPCError: UNAUTHORIZED
at <unknown> (.next/server/edge/chunks/_5ee824d1._.js:572:12455)
at ea5 (.next/server/edge/chunks/_5ee824d1._.js:572:76)
at t (.next/server/edge/chunks/_5ee824d1._.js:569:6398)
at <unknown> (.next/server/edge/chunks/_5ee824d1._.js:17:242004)
at Array.map (<anonymous>)
at rk (.next/server/edge/chunks/_5ee824d1._.js:17:241547)
at async rT (.next/server/edge/chunks/_5ee824d1._.js:21:3709)
at async em.do (.next/server/edge/chunks/_5ee824d1._.js:16:13623)
at async em.handle (.next/server/edge/chunks/_5ee824d1._.js:16:15830)
at async eC.handler (.next/server/edge/chunks/_5ee824d1._.js:17:209239) {
cause: undefined,
code: 'UNAUTHORIZED'
}This I highly suspect is tied to the constant log output (even though logged in through magic link):
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to login
User not authenticated, redirecting to loginSource: openstatusHQ/openstatus