Skip to main content

One post tagged with "oidc"

View All Tags

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.