Back to overview
identity for your apps

Add Sign in with app.nz without running an auth service.

Register browser, mobile, or server apps, choose exact callback URLs and scopes, and let app.nz handle accounts, consent, PKCE, sessions, and user profiles.

import { createAuthClient } from 'https://app.nz/appnz-auth.js'
What you get

Everything you need

Everyday use
One API
CLI access
Always tested

Firebase-style client

A small hosted JavaScript client manages PKCE, callback state, token storage, currentUser, and auth-state listeners.

Safe public clients

Browser and mobile apps never receive a secret. Authorization Code + PKCE S256 is mandatory.

Scoped by consent

Each app gets only the profile, credit, or key capabilities the user approved, with exact redirect matching.