Auth Provider
Hashes passwords for you. Charged per user.
What it does#
The Auth Provider stands for a hosted identity service such as Auth0 that checks passwords for you.
Link an App Server to it, and that server sends each login to the Auth Provider as an auth call. Your CPU no longer pays for password hashing, which is slow on purpose. See bcrypt.
It is a Managed Component. It costs nothing to place, has no capacity limit, and serves every region. It adds a fixed delay to each login. Its Burn grows with your user count, not with logins, so it is cheap early and grows into a large line on the bill.
When to place it#
Place it when logins eat your App Server CPU, or when p99 jumps on an event-loop runtime such as Node.js. A hash on the event loop stalls every request behind it. The Event Loop Stall Sandbox shows it.
How it fails#
The Auth Provider itself does not fail in the game. The incidents it prevents are:
Event loop block: the hashing cost goes up, and every login takes four times the CPU. The Auth Provider and the libuv thread pool both take the hash off the loop.
Credential stuffing: bots try leaked passwords, and every attempt is a hash. A WAF blocks most of them. The Auth Provider hashes the rest.
Its failure is cost. Watch its Burn in the Ledger as users grow.
Tips#
On Node.js, compare the Auth Provider with the libuv thread pool Research: the pool costs no Burn.
An App Server without a link to the Auth Provider still hashes its own logins.
Rules#
- Each further copy costs 25% more than the one before.
- Selling it refunds 50% of what its last copy cost.
- It has one size.