Skip to content

fix: promote root endpoint guard fix to main#16

Merged
kenneth-loto merged 3 commits into
mainfrom
develop
Jul 1, 2026
Merged

fix: promote root endpoint guard fix to main#16
kenneth-loto merged 3 commits into
mainfrom
develop

Conversation

@kenneth-loto

Copy link
Copy Markdown
Owner

Summary

Promotes the root endpoint fix from develop into main.

What's Changed

  • @AllowAnonymous() now present on GET / alongside @Public() and
    @SkipArcjet() on main

Why

Validated on develop. Merging to main so the root endpoint is publicly accessible in production.

kenneth-loto and others added 3 commits July 2, 2026 00:20
…Arcjet

- add @AllowAnonymous from @thallesp/nestjs-better-auth to root get handler
- both @public and @AllowAnonymous are required since two independent global
guards run: our AuthGuard reads @public, better auth's guard reads @AllowAnonymous
…Arcjet

Adds @AllowAnonymous to the root GET handler so Better Auth's global guard allows the request through. Both @public and @AllowAnonymous are required because two independent global guards run — our AuthGuard reads @public and Better Auth's guard reads @AllowAnonymous — and neither recognises the other's decorator.
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@kenneth-loto kenneth-loto merged commit 29bf113 into main Jul 1, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant