Files
cyph3rasi 73a3279d5c Publish the SDK under the Gnosys Labs npm organization
Hop-State: A_06FPAHQDE2YC3AQWGQGNQN0
Hop-Proposal: R_06FPAHP3Q77W9A2D641H4SR
Hop-Task: T_06FPAH33SHXWSFZ2V45R2Z8
Hop-Attempt: AT_06FPAH33SGNKEM8JTS1KX70
2026-07-15 03:16:14 -07:00

7 lines
529 B
Markdown

# Integration examples
- [`server-connection.ts`](server-connection.ts) shows PKCE connection, authorization-code exchange, and gallery pagination on an application server.
- [`react-upload.tsx`](react-upload.tsx) shows a native-feeling upload control using `@gnosyslabs/stuffbox-sdk/react` and app-owned same-origin endpoints.
The same-origin endpoints in the React example are intentional. Keep Stuffbox access and refresh tokens on your server; return only the short-lived upload session or completed asset to browser code.