Skip to main content

Blog

Tutorials and behind-the-scenes notes on O2ID’s identity engine, written by the team building it.

Implementing End to End Multi Factor Authentication Flows

· 7 min read
O2ID Team
Maintainers

Most identity providers hardcode "how login works." O2ID instead lets you define it: a Flow is a tenant-authored graph of steps — identify the user, verify a credential, branch on context, collect enrollment, finish with an outcome — that O2ID walks one node at a time.

In this post you'll configure a real login flow that asks for a password, then TOTP — enrolling on the spot if a user hasn't set it up yet — and sign in as two different users through O2ID's actual login portal, no CLI standing in for the browser.

Sharing One OAuth App Across Customer Organizations

· 8 min read
O2ID Team
Maintainers

If you're building a B2B SaaS product, you'll eventually have to figure out how your customers' users sign in. Your own team already signs in through an OAuth application registered in your O2ID tenant, and as new customers onboard it's tempting to just register another application per customer. That works fine for a handful of customers, and falls over well before you reach a hundred.

O2ID's answer is to let you share a single OAuth application with customer Organizations: each organization's users authenticate with their own credentials, and O2ID still issues tokens scoped entirely to that organization. That's what this tutorial sets up.

Authenticating AI Agents with O2ID

· 10 min read
O2ID Team
Maintainers

Every AI agent eventually needs to answer two very different questions: "who am I?" and "who am I acting for, right now?" O2ID gives an AI agent its own identity — distinct from both a human User and an OAuth Application — and two separate flows for those two questions. This post walks through both, using a small agent as a running example, and finishes by using the resulting token to call an external API.