Skip to content

[SELF-HOSTED] User not authenticated, redirecting to login constantlyΒ #1956

@TreeSloths

Description

@TreeSloths

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 login

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions