What you get
- A user id that's unique to your app. Zeno ID gives every app its own id for each person, so apps can't track people across each other.
- Name, username and picture with the
profilescope. - Email and whether it's verified with the
emailscope. - Refresh tokens with
offline_access, if your server needs to stay signed in. - A clear consent screen. People see your app's name and exactly what you'll get before they say yes, and they can remove your access at any time from their Zeno ID account.
You need a free Zeno ID to register an app. Make one here if you don't have one yet.
With Supabase (about 5 minutes)
Supabase supports custom OpenID Connect providers, so Zeno ID works next to Google, GitHub and the rest, and people land in your auth.users table like any other sign-in.
Step 1: start a custom provider in Supabase
In your Supabase project go to Authentication → Sign In / Providers, scroll to Custom Providers, click New Provider and choose Auto-discovery (OIDC). Fill in:
| Identifier | custom:zeno-id |
| Issuer URL | https://id.zeno-innovations.com |
Supabase shows a Callback URL like https://<your-project>.supabase.co/auth/v1/callback. Copy it and keep this tab open.
Step 2: register your app
Open Zeno ID apps in a new tab and click Register an app. Give it your app's name, paste the Supabase Callback URL as the return address and choose Server app. You get a client ID and a client secret. The secret is shown only once, so copy it straight away.
Step 3: finish in Supabase
Back in Supabase, paste the client ID and the client secret and click Create and enable provider.
Step 4: add the button
await supabase.auth.signInWithOAuth({
provider: "custom:zeno-id",
options: { redirectTo: window.location.origin },
});
That's it. After signing in, supabase.auth.getUser() gives you the person's email and name like any other provider.
With Next.js (Auth.js / NextAuth)
Register a Server app with https://your-site.com/api/auth/callback/zenoid as its return address, put the client ID and secret in your environment, and add this provider:
// auth.ts
import NextAuth from "next-auth";
const ZenoID = {
id: "zenoid", name: "Zeno ID", type: "oidc",
issuer: "https://id.zeno-innovations.com",
clientId: process.env.ZENO_CLIENT_ID,
clientSecret: process.env.ZENO_CLIENT_SECRET,
authorization: { params: { scope: "openid profile email" } },
};
export const { handlers, auth, signIn, signOut } = NextAuth({ providers: [ZenoID] });
A button that calls signIn("zenoid") is all you need on your page.
With any other library or language
Any OpenID Connect library works: give it the issuer and it finds the rest by itself. If yours wants every address separately:
| Issuer | https://id.zeno-innovations.com |
| Discovery | https://id.zeno-innovations.com/.well-known/openid-configuration |
| Authorize | https://id.zeno-innovations.com/authorize |
| Token | https://id.zeno-innovations.com/token |
| User info | https://id.zeno-innovations.com/userinfo |
| Scopes | openid profile email offline_access |
Authorization code flow, with PKCE (S256). ID tokens are signed with RS256. Server apps send their secret with client_secret_basic or client_secret_post. Browser and mobile apps register as Browser or mobile app, get no secret and must use PKCE.
Return addresses must match exactly. Use https://, http://localhost while developing, or for mobile and desktop apps an app link like myapp://callback or com.example.app:/oauth. App links always need PKCE, because another app on the phone could claim the same link.
The button
Use any button you like. If you want the official look, paste this and point it at your sign-in route:
<a href="YOUR_LOGIN_ROUTE" style="display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:10px;background:#111114;color:#fff;font:600 15px system-ui,sans-serif;text-decoration:none">
<img src="https://zeno-innovations.com/dashboard/favicon.png" alt="" width="20" height="20" style="border-radius:5px">
Sign in with Zeno ID
</a>