130 points · by hunter2_ · 4y ago · 82 comments
why do i say this? At least as of Oct 2021 Okta didn't even have a complete compositional API to setup accounts -- thus requiring a 'josh-api', literally a guy named josh to manually provision new customer accounts by hand. the latency on those api requests was immense.
the company i was working at still depended on java 8, never budgeted time for refactor or maintenance, and had a plurality of other horrible dev practices they justified (calling themselves agile, devops, but not actually doing any of those things properly)
i was still in my probationary period when told me they were going to roll out Okta to all clients early in 2022 and charge for SSO so they could line their pockets, i gave my notice the next day (for many reasons, including okta). josh also gave notice and left on the same day.
given log4js, etc. this has probably been an extremely bad week there.
public String createAccount(String user, String pass){
var hashmap = readUserMapFromDisk(MYUSERS.PATH_TO_TXT_FILE);
hashmap.putIfAbsent(user, pass);
writeToDisk(hashmap, MYUSERS.PATH_TO_TXT_FILE);
return "All done " + LocalDateTime.now();
}EDIT: Just imagine the string args are in a more complex object that can be serialized to JSON
The control API (i.e. adding/removing roles, modifying policies, etc.) is available out of us-east-1. However, the bits of IAM that relate to distributing credentials to instances/tasks/lambdas and STS are all regionalized and isolated.
https://auth0.com/availability-trust
And then read this tweet:
https://twitter.com/auth0/status/1471159935597793290
Edit: Ah, seems they picked us-west-1 and us-west-2 as the two regions..."In this case, we use two AWS regions: us-west-2 (our primary) and us-west-1 (our failover)."[1] So bit by a double-region failure.
[1] https://auth0.com/blog/auth0-architecture-running-in-multipl...
The notion of self-hosting is that you have to hire expensive operations staff and maybe you have sub-par experience due to lack of investment.
There is often an argument about "lack of core competency" too.
Facebook famously runs their own infra but that didn't work so well for them.
--
FWIW I'm actually of the other notion; I truly believe that you should minimise external dependencies. But that's because I'm a sysadmin (now: SRE) and it's my job to worry about reliability of systems. Less complexity and less external dependency ususally coincide with higher reliability.
A person could reasonably argue that it's in my interest to prefer companies run their own stuff, since it might be my job to maintain it, so it's self-serving. So I am not unbiased I suppose.
I saw many systems engineered for a lot of 9s be down hard for much longer than 9s promised, most often due to perfect storm of issues.
9s are great, and communicate pretty well what system was designed for, but they are in no way hard guarantee that the system will be up.
I used to work there and know the internals well. These aws outages must be causing massive chaos there.
MS doesn't do the things we need in a better way than other options, and it's almost always more expensive at product level and TCO level.
You hear people calling Microsoft expensive when they’re on some random mix of Gmail, Notes, CM9, or whatever.
Then MS seems expensive because it’s all or nothing. Dipping your toe in the water turns into a dive to the bottom of the pool.
The main advantage is that the hardware token can be used in areas where mobile phones are prohibited, and of course immunity from a SIM swap attack.
We're in the middle of a migration from in-house auth (which we need to get rid off) to Okta and I think the people involved are finding Okta pretty confusing. But it's a big product and auth stuff is complicated, so I'm not sure how much it's Okta's fault.
Should you? I don't know your situation and whether you can build an Okta-caliber level team internally. (My guess is that many smaller or non-tech focused orgs would have a hard time with that, but that's just a guess.) It's a hard question worth asking.
It's easy to think "we could have done better" when things are on fire, as opposed to all the times when the status chart is all green and you don't have to think about Okta (feel free to s/Okta/other service provider/) at all.
Disclosure: I work for FusionAuth, an auth provider that has both SaaS and self-hosted installation options.
Blaming Okta or any other group isn't the issue. Your customers don't care how you are down they only care if you are down.
Also, I got a bill from Amazon when I forgot to shut down a pagemaker instance and that cost me $700. I self host now buying a business internet package with a static ip. I also upgraded the machine but it wasn't necessary and in hindsight I shouldn't have done the upgrade but just fix the case.