Get started
What Fox Login does
Fox Login runs sign-up, sign-in and user management for your web or mobile app. Your frontend calls the Fox Login SDK. Fox Login stores the user's email, name, password hash and two-factor settings, sends the verification emails, and issues short-lived session tokens. Your backend checks those tokens with Fox Login's public keys and reads the user ID from them.
Each application has one region, chosen when you create it: EU (Germany) for users in the EU and every other country, TR (Türkiye) for users in Türkiye. All users of the application are stored there, and the region cannot be changed later. The region is written into the publishable key (pk_live_tr_…), the sign-in host and the session token (rgn), so your code never picks one. Your database keeps the user ID (usr_tr_8f2c91a7) and nothing else about the person.
Three kinds of keys
An application has one publishable key and one or more secret keys. Organization API keys belong to the whole organization and reach every application in it.
| Key | Format | Where it lives | What it can do | Safe to expose? |
|---|---|---|---|---|
| Publishable key | pk_live_eu_…, pk_live_tr_… |
Your frontend and mobile app, passed to the SDK | Identifies the application to the sign-up and sign-in endpoints. One per application. | Yes. It can start sign-ups and sign-ins and nothing else. |
| Secret key | sk_live_eu_…, sk_live_tr_… |
Your server only, in FOXLOGIN_SECRET_KEY |
Calls the Management API for its own application, limited by the key's role. An application can have several. | No. Every role can read your users. |
| Organization API key | fk_live_… |
Your server or CI only | Calls the Management API for every application in the organization, including creating applications. | No. It reaches every application. |
Keys explains where to find each key and which one a task needs. Secret key roles covers the admin, editor and viewer roles.
Hosts
Your backend talks to one Management API. Your users' devices talk to the sign-in host of the application's region, which the SDK reads from the publishable key.
| Host | Who calls it | Credential | Used for |
|---|---|---|---|
https://api.foxlogin.app/v1 |
Your backend | sk_live_… or fk_live_… as a Bearer token |
Applications, users, events, webhooks and keys. Located in Germany. |
https://<region>.auth.foxlogin.app |
The SDK in the browser or app | pk_live_<region>_… in the X-Fox-Publishable-Key header |
Sign-up, sign-in, Google sign-in, codes, token refresh, sign-out. eu.auth.foxlogin.app or tr.auth.foxlogin.app. |
https://app.foxlogin.app |
You, in the browser | Your Fox Login account | Dashboard for applications, keys and teammates. Located in Germany. |
Public keys for token verification are at https://api.foxlogin.app/.well-known/jwks.json and at the same path on each region host.
Sign-in methods
Available today: email and password, email code (passwordless), Sign in with Google, password reset by email code, and TOTP two-factor authentication. Apple, Microsoft and GitHub sign-in, using your own Google app, magic links, passkeys and SMS codes are planned.
Start with the Quick start.