Route changes
OAuth management routes move below the organization:Enforce the namespace
The organization must be 1–128 characters using letters, numbers, dots, underscores, or hyphens. Hookfish stores the validated organization separately on authorization state and connection records. Explicit connection IDs, connection prefixes, provider paths, and vault paths must remain at or below the organization’s resource path. For organizationacme, acme/engineering/github is valid and other/github is rejected.
Use both controls:
- Organization routing supplies an authenticated tenant context to the database adapter.
- Broker scopes restrict what the calling credential can access.
Resolve tenant storage
Request-aware database adapters receive{ organization } as their context. A
shared PostgreSQL adapter can retain the organization as a row-level key. A
partitioned adapter can select a separate store.
The built-in browser facade exposes only global OAuth-management paths. Proxy
organization operations through your authenticated application server and
call Hookfish with the tenant’s scoped broker token.