Skip to main content

One post tagged with "organizations"

View All Tags

One OAuth App, Every Customer: Scaling B2B Sign-In With Shared Applications

· 8 min read
Maintainers

If you're building a B2B SaaS application, one question inevitably comes up:

How do my customers' users sign in to my application?

Your own team probably already signs in using an OAuth application registered in your O2ID tenant. As new customers onboard, it might seem natural to create another OAuth application for each customer organization.

That works for a handful of customers. It doesn't scale to hundreds or thousands.

Instead, O2ID lets you share a single OAuth application with customer Organizations, allowing each organization's own users to authenticate using their own credentials while O2ID still issues tokens scoped entirely to that organization.

In this tutorial you'll build exactly that.