OZVAULT CONNECT DOCUMENTATION
Integrate OzVault
in an afternoon.
Everything an independent developer needs: registering an application, OAuth 2.0 with PKCE, tokens, sign-in, the file storage API and working examples for popular stacks.
Register an application and get your client ID.
Then follow the quickstart to send your first user through the flow.
Start here
4 guides- OZVAULT CONNECT · QUICKSTART
Get started with OzVault Connect
Register an OAuth application, get a client ID and secret, add exact redirect URLs and choose permissions for OzVault's free cloud storage API.
- OZVAULT CONNECT · OAUTH 2.0
OAuth 2.0 authorization code flow
Send users to OzVault's authorization endpoint with PKCE and state, handle consent, and receive an authorization code at your registered callback.
- OZVAULT CONNECT · PKCE
Implement PKCE (S256)
Generate a code verifier and S256 code challenge in JavaScript, Node.js and Python. PKCE is mandatory for every OzVault Connect client.
- OZVAULT CONNECT · TOKENS
Exchange codes and refresh tokens
Exchange an OzVault authorization code for access and refresh tokens, handle one-hour expiry and rotate refresh tokens safely.
Use the API
6 guides- OZVAULT CONNECT · OPENID CONNECT
Sign in with OzVault and read profiles
Use OpenID Connect to sign users in with OzVault, validate ES256 ID tokens with JWKS, and read profile and email data with explicit consent.
- OZVAULT CONNECT · FILE STORAGE API
Upload, download and manage app storage
Store files in a user's OzVault through a private file storage API: single-request and resumable uploads, downloads with SHA-256 checks, listing and deletion.
- OZVAULT CONNECT · QUOTA API
Read a user's storage quota
Check remaining capacity before uploading. Every OzVault account has one quota (15 GB free) shared by all connected apps.
- OZVAULT CONNECT · REVOCATION
Revoke authorization and disconnect
Revoke OzVault access and refresh tokens with RFC 7009, and handle users who disconnect your app from their account.
- OZVAULT CONNECT · ERRORS
Handle OAuth and API errors
Stable error codes for the OzVault Connect token endpoint and storage API, with retry guidance, rate limits and request IDs.
- OZVAULT CONNECT · SECURITY
Protect user privacy and secure production apps
Production security checklist for OzVault Connect: secret handling, state and PKCE, token storage, least privilege, HTTPS and data minimisation.
Examples
5 guides- EXAMPLES · JAVASCRIPT
JavaScript (browser) integration with PKCE
Connect a static site or single-page app to OzVault as a public OAuth client using PKCE, with no client secret and no backend.
- EXAMPLES · NODE.JS
Node.js and Express integration
A complete Express server that connects users' OzVault storage with OAuth 2.0, refreshes tokens and uploads files through the storage API.
- EXAMPLES · NEXT.JS
Next.js integration (App Router)
Add Connect with OzVault to a Next.js app with route handlers, httpOnly PKCE cookies and server-only token use.
- EXAMPLES · PYTHON
Python and FastAPI integration
Connect OzVault cloud storage to a FastAPI app with httpx: PKCE, token exchange, refresh, quota and uploads.
- EXAMPLES · DISCORD BOTS
Discord bot storage with OzVault Connect
Give your Discord bot free per-user cloud storage: /link connects a user's OzVault with OAuth, then /save stores attachments in their account.
Reference
1 guideMANAGE YOUR APPLICATIONS