Sign-in that respects every country’s law.

Hosted login and user management, like Clerk or Auth0. Each user’s personal data is stored under the law of the country they choose at sign-up.

Start free
npm install foxlogin

Free up to 50,000 monthly active users.

How it works

Three steps from sign-up to a stored user. The country travels with the user, so your code stays the same everywhere.

  1. The user picks their country at sign-up.

    Their country, never their IP address, decides where their data lives.

    signUp({ email, password, country: "BR" })
  2. Fox Login stores it under that country’s law.

    The routing is built into the key and the token, so there is no country logic in your code.

    publishableKey: "pk_live_…"
  3. Your app keeps only the ID.

    A signed session token tells you who the user is and where their data lives.

    users.fox_id = "usr_8f2c…"

No legal problems with where your users’ data lives.

Every user’s data is stored under the rules of their own country.

GDPR in Europe. KVKK in Türkiye. Local rules everywhere else.

  • Argentina
  • Australia
  • Austria
  • Azerbaijan
  • Belgium
  • Brazil
  • Canada
  • Chile
  • Colombia
  • Costa Rica
  • Czechia
  • Denmark
  • Egypt
  • Ethiopia
  • Finland
  • France
  • Georgia
  • Germany
  • Ghana
  • Greece
  • India
  • Indonesia
  • Ireland
  • Italy
  • Japan
  • Kazakhstan
  • Kenya
  • Malaysia
  • Mexico
  • Morocco
  • Netherlands
  • New Zealand
  • Nigeria
  • Norway
  • Pakistan
  • Panama
  • Peru
  • Philippines
  • Poland
  • Portugal
  • Qatar
  • Romania
  • Saudi Arabia
  • Senegal
  • Singapore
  • South Africa
  • South Korea
  • Spain
  • Sweden
  • Switzerland
  • Tanzania
  • Thailand
  • Türkiye
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States
  • Uruguay
  • Vietnam

Users from every country are welcome today, and more countries join the network all the time.

One SDK. Your database keeps only the ID.

Pass the country at sign-up and verify the token on your server. That is the whole integration.

import { FoxLogin } from "foxlogin";

const fox = new FoxLogin({ publishableKey: "pk_live_…" });

await fox.signUp({ email, password, country: "BR" });
const token = await fox.getToken();
import { verifyToken } from "foxlogin/server";

const claims = await verifyToken(token);
claims.sub; // "usr_8f2c…", the only thing your database keeps
claims.rgn; // where this user's data lives
  • Verified locally.

    Ed25519 tokens, checked against the public JWKS. No network call per request.

  • Labels in the token.

    Put a user’s store or team in the token; no lookup.

  • Short-lived, auto-refreshed.

    getToken() refreshes and rotates for you.

Same contract in every language. Open source on GitHub.

  • JavaScript
  • Python
  • Go
  • PHP
  • Java
  • .NET
  • Ruby
  • Rust
  • Swift
  • Kotlin
  • Dart

Everything a login needs.

Ready today, with more on the way.

Available now

  • Email and password
  • Passwordless email codes
  • Google sign-in
  • Password reset
  • TOTP two-factor
  • Rotating sessions
  • Ed25519 tokens (JWKS)
  • Labels in the token
  • Dashboard
  • Management API
  • Webhooks
  • Event logs
  • Country restriction per app

Coming next

  • Magic links
  • Passkeys
  • SMS codes
  • Apple, Microsoft, GitHub sign-in
  • Data export and erasure API
  • Multi-country applications

About half of what Clerk costs.

Every plan stores each user under their own country’s law.

Free

$0

  • 50,000 MAU
  • 3 applications
  • “Secured by Fox Login” badge
  • No SMS
Start free

Pro Recommended

$12/mo

  • 50,000 MAU included
  • Then $0.01 per extra MAU
  • Per-country email templates
Start with Pro

Enterprise

Custom

For volumes and terms that don’t fit a list price.

Contact us

MAU means monthly active users. SMS codes, when available, are billed at provider cost + 15%.

Questions

Anything else? Write to hello@foxlogin.app.

Where is my users’ data stored?

Under the law of the country each user chose at sign-up. Their country, never their IP, decides. Every country is welcome.

Do I need country logic in my code?

No. The key and the token carry it; claims.rgn tells you.

What does my database keep?

Only the Fox Login user ID. Ask the Management API for personal data when you need it.

Will we have legal problems with GDPR or KVKK?

Not with where your users’ data lives. Every user’s data is stored under their own country’s rules from the first sign-up.

Who can’t use Fox Login?

Banks, payment and e-money institutions. Other regulated sectors: write to hello@foxlogin.app first.

Ship the login. Keep only the ID.

Start free
npm install foxlogin

Free up to 50,000 monthly active users.