bb-plane-fork/apps/web/core/hooks
binarybeach 712612865d binarybeachio: Bucket-4 trusted-JWT auth — replaces in-place github.py patch
Migrates this fork to the binarybeachio platform-architecture pivot:
oauth2-proxy at the edge enforces a Zitadel session, the auth-bridge
mints a short-lived RS256 JWT, and a NEW additive endpoint at
/auth/sign-in-trusted/ verifies the JWT, claims its jti against
shared-redis (single-use replay protection, fail-closed), find-or-creates
the User, and starts a Django session via user_login().

Net surface vs. upstream-clean: 1 new view file + 1 url path + 1
exports __init__ entry + 7 reserved error codes (6000-6099 range).
github.py and the GitHub-button rebrand patch are reverted to upstream
— sign-in entry-point UX is now driven by Traefik redirectregex on
/sign-in* in infrastructure/plane/docker-compose.yml.

Replay protection contract: jti claim minted by bridge, consumed via
Redis SETNX with ttl = exp - now + 30s. Documented at
binarybeachio/docs/architecture/bridge-jwt-replay-protection.md.

Public-key transport: BB_BRIDGE_PUBLIC_KEY_URL env points at the
in-cluster bridge's /.well-known/bb-bridge.pub.pem (avoids the
env-PEM corruption issue Coolify has with backslash-escaped keys).
Endpoint is implicitly disabled (404) when env unset — vanilla
upstream behavior preserved.

Storage patches (Patch 2) unchanged. Brand asset preserved (dormant).
Pre-migration source state preserved on branch pre-migration-2026-05-04.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 20:24:48 -10:00
..
context chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
editor chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
oauth binarybeachio: Bucket-4 trusted-JWT auth — replaces in-place github.py patch 2026-05-03 20:24:48 -10:00
store chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-app-router.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-auto-save.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-auto-scroller.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-chat-support.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-collaborative-page-actions.tsx fix: remove unused imports and variables (part 2 — web/core non-issues) (#8752) 2026-03-25 02:04:20 +05:30
use-current-time.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-debounce.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-dropdown-key-down.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-dropdown.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-expandable-search.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-extended-sidebar-overview-outside-click.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-favorite-item-details.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-group-dragndrop.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-integration-popup.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-intersection-observer.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-issue-layout-store.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-issue-peek-overview-redirection.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-issues-actions.tsx chore: merge helpers and layouts (#8624) 2026-02-10 22:04:07 +05:30
use-keypress.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-local-storage.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-multiple-select.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-navigation-preferences.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-online-status.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-page-fallback.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-page-filters.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-page-operations.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-parse-editor-content.ts [WIKI-785] refactor: editor markdown handler #8546 2026-03-05 15:43:52 +05:30
use-peek-overview-outside-click.tsx [WEB-6137] fix: work item peek view outside click #8610 2026-02-12 16:28:51 +05:30
use-platform-os.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-project-issue-properties.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-query-params.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-realtime-page-events.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-reload-confirmation.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-stickies.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-table-keyboard-navigation.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-timeline-chart.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-timer.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-timezone-converter.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-timezone.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-window-size.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-workspace-invitation.tsx chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-workspace-issue-properties.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
use-workspace-paths.ts chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30