Introduction
Novren ID is a sign-in service, like "Sign in with Apple" or Clerk, with one difference that shapes everything else: the password never leaves the user's device. It is turned into keys and a signature in the browser; our server only checks the signature.
Because the password stays on the device, Novren ID can give your app something other services can't: a secret key for each user, created on their device and delivered to your app sealed, so that no server on the way (ours or yours) can read it. With that key your app can encrypt the user's data end to end.
What your app gets
After a successful sign-in your app receives:
| What | What it is for |
|---|---|
accountId | The user's Novren ID: a UUID that never changes. Use it as your user id. |
email | To show in your interface. It travels in the URL fragment, so no server sees it. |
tokens.access_token | A JWT valid for 5 minutes, only for your app. Your server verifies it. |
tokens.refresh_token | Gets a new access token. It changes on every use. |
productKey | Your app's AES-256 key for this user, non-extractable. |
identity | Key pairs derived from that key, to receive and sign data between users. |
The pieces
- The console at account.novren.net/console: create an app, its clients (where users come back after sign-in) and the service tokens for your server.
- The browser SDK,
@novren/id-client/app: starts the sign-in, completes it, refreshes and revokes tokens. See the reference. - The server SDK,
@novren/id-verifier: verifies access tokens and tells you about revocations and deleted accounts. See the reference. - The Rust crate
novren-id: the same sign-in for desktop apps, through the system browser. See the reference.
The packages are not public yet
@novren/id-client, @novren/id-verifier and the novren-id crate are distributed privately while the console opens to external developers. The examples in these pages already use their final API. Write to us from the console (Discuss your needs, at the top) to get access.
Shared identity
A Novren ID is one account for many apps, like a Google or Apple account: the same person signs in to your app and to others with the same email and password. Each app sees only its own users (those who authorized it at least once), gets its own key and its own tokens, and cannot read anything that belongs to another app.
Where to go next
- Quickstart: sign-in working in about ten minutes.
- How sign-in works: what happens at each step, and why.
- Limits and edge cases: what to know before going to production.