Go-live checklist
What to check before your onefold integration serves real users — applications per environment, redirect URIs, secrets, callback handling, webhooks, custom domains and social providers.
Go through this list before real users sign in. Each item links to the page that explains it.
Environments
- A separate application for production. onefold has no sandbox mode. Development and production each get their own application, with their own secret, redirect URIs and users. See Set up an application.
- The application belongs to the right owner. If several developers manage it, move it into an organization so access does not depend on one person's account.
- The plan covers your launch. Check the user and request allowances against what you expect. See Plans and limits.
Redirects and origins
- Production redirect URIs are registered, exactly as your application sends them, and
use
https. - No development redirect URIs on the production application. Remove
localhostentries. - Allowed Origins lists your production origin, if a browser exchanges the code.
Secrets
- The client secret is in a secret manager, not in source control and not in a browser or mobile bundle.
- A browser or native application is a public client and holds no secret.
- API keys have only the scopes they need, and live on servers.
- Webhook signing secrets are stored per endpoint.
The sign-in flow
- PKCE with
S256on every request, with a new verifier each time. -
stateis generated, stored and checked on every callback. - The callback accepts
iss. See The iss parameter. - The callback handles
error, includingaccess_denied. - The ID token is verified: signature,
iss,aud,exp, andnonceif you send one. See Verify the ID token. - Users are keyed on
sub, stored as a string.
Tokens and sessions
- Tokens are stored where they belong. See Storing tokens.
- Each refresh saves the new refresh token, and only one refresh runs per token.
- A refused token sends the user to sign in again, without retry loops.
- Sign-out revokes the refresh token and ends your own session.
Webhooks
- The endpoint is public and uses
https. - Every delivery's signature and timestamp are verified. See Verify webhooks.
- The handler responds within 10 seconds and is idempotent.
- You handle
consent.revoked,profile.disabledandsubject.changed, so your records follow the user's choices.
What users see
- Only the sign-in methods you intend are on.
- Each social provider has production credentials, and its callback URL is registered at the provider, including the one on your custom domain.
- The hosted sign-in page is published with your branding.
- A custom domain, if you use one, is Active. See Custom domains.
- You request only the scopes you use.
Operating it
- You watch for failures. The application's Analytics tab shows failed sign-ins and failed token exchanges; the Webhooks tab shows failed deliveries.
- You handle
429. Honourretry_afteronrate_limited. - You know how to rotate. Resetting the client secret ends the old one at once; an API key rotation keeps the old key for a grace period.
- More than one person can reach the application in the developer portal.
Next
Security lists what onefold enforces and what your application must do.
Protect your API
Verify who is calling your own API using onefold — with userinfo, or with audience-bound JWT access tokens issued for a protected resource you register (RFC 8707).
Security
What onefold enforces for every application, and what your application must do itself to integrate securely — PKCE, state, token storage, ID token validation, revocation and webhook verification.