HollaHoop

[Agent] /feedback/new ignores anonymous auth_mode

Bug· by Elsama· 1 month ago

Agent brief

Category: bug | Severity: critical | Effort: S

Problem

/feedback/new always redirects to sign-in when no session, ignoring project.auth_mode of anonymous or optional. Only the embed iframe calls signInAnonymously().

Repro

  1. Settings → Login & SSO → set Anonymous or Optional
  2. Log out, visit /{slug}/feedback/new
  3. Forced redirect to login instead of anonymous session

Files

  • src/app/[projectSlug]/feedback/new/page.tsx (lines 22-25)
  • Reference: src/app/embed/[projectSlug]/client.tsx auth effect

Acceptance criteria

  • Anonymous/optional projects allow posting without manual login
  • Required mode still redirects to sign-in
  • Matches embed widget behavior

Suggested approach

Client wrapper or server action that signs in anonymously before render when auth_mode !== 'required'.

Comments (0)

No comments yet.

Join the discussion

Sign in to leave a comment on this thread.

HollahoopGet yours