Authentication
SSO, SCIM, and a plan gate kept out of sign-in
In BillDog auth, a free project sets up SSO and a SCIM (directory sync) token in sandbox; production refuses. Sign-in never calls the plan gate; it fails open.
What this video covers: CortX AI Core and Pro include one SSO connection; Max includes three.
Transcript
There is a moment in selling to a company where the conversation stops being about your product. Somebody sends a spreadsheet, and two rows on it decide whether you are allowed to be bought at all. Single sign-on. And directory sync.
And they are not arbitrary. They are the two things an IT department needs in order to not be afraid of you. Single sign-on means nobody at that company has a separate password for your app. Directory sync means that when somebody leaves, their access to your app ends when the directory says so, not whenever someone remembers to tell you.
That second one is why this is a security question, rather than a convenience one.
So here is the part I did not expect. This is a project on the free plan, and this card is set to sandbox.
I can create the connection. It hands back the three addresses my identity provider will ask for.
And I can mint its directory-sync token, which in production comes with CortX AI. It is shown once, and only its hash is kept.
Nothing here has asked for a plan.
Now switch the same card to production, and try the same thing.
That is where it stops, and it names the plan that turns it on. Nothing about the feature changed. Only whether you may run it in front of real customers.
Now, the question I would be asking at this point is the one nobody puts on a pricing page. What happens if I pay for this, set it up, and later downgrade?
The gate only runs when you create a connection, or switch one on. The sign-in path never calls it. So a connection that already exists keeps working, and the people signing in through it never meet the gate.
It goes one further. If the thing that checks your plan breaks… the lookup errors, the plan table is missing, the count fails… it lets you through. On purpose. Wrongly allowing costs us one free connection. Wrongly refusing would break your setup over our infrastructure.
One last detail, and it is small enough to miss. Free includes three organizations per app. The person who tries to make a fourth is not you. It is your customer, inside your app, and they have no idea whose plan they just ran into.
So the message does not tell them to upgrade a plan that isn’t theirs. It says the app has reached its limit, and to ask the app’s owner. Somebody thought about whose screen that would appear on.
Single sign-on turns on with Engagement Pay-as-you-go, the plan the refusal named. Directory sync, and one included connection, come with CortX AI.
You can have both rows ticked before the spreadsheet arrives.