ozvault home

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.

START HERE

Register an application and get your client ID.

Then follow the quickstart to send your first user through the flow.

Quickstart

Start here

4 guides
  1. 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.

  2. 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.

  3. 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.

  4. 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
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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
  1. 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.

  2. 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.

  3. 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.

  4. EXAMPLES · PYTHON

    Python and FastAPI integration

    Connect OzVault cloud storage to a FastAPI app with httpx: PKCE, token exchange, refresh, quota and uploads.

  5. 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 guide
  1. OZVAULT CONNECT · REFERENCE

    OzVault Connect API reference

    Every OzVault Connect endpoint: authorization, token, revocation, introspection, userinfo, JWKS, discovery, profile, quota and application file storage.

MANAGE YOUR APPLICATIONS

Credentials, redirect URLs, analytics and a safe flow tester

Open the developer portal