Earlier quoted context omitted.
My first job at a consulting company out of uni I had to to an IQ test that could also indicate if I had rabies. It had questions like "are you afraid of water", "have you showered in the last three weeks", "have you felt more aggressive lately"...
I'm sorry what?
Klarna users are being signed in to random accounts
231–240 of 517 posts
Re: Klarna users are being signed in to random accounts
#232Re: Klarna users are being signed in to random accounts
#233Re: Klarna users are being signed in to random accounts
#234Earlier quoted context omitted.
Wow, first time i hear that. Aren't those IQ test horribly biased?
not only that, but they aren't a great predictor of actual job performance
Re: Klarna users are being signed in to random accounts
#235I'm just guessing, but... "developer gets a great idea - let's push an update to the API as a GET request so we can cache this on the CDN... forgetting that the JWT token is potentially returned in the call. Now, whoever makes the call first gets their JWT token stored for everyone else to load instead when the API call is made." Ta-da, Klarna.
Re: Klarna users are being signed in to random accounts
#236Earlier quoted context omitted.
1) Caching: a cache is used in front of the API for things like product listings, it uses a pattern match like /api/products/*, and caches routes which match. Someone accidentally configures it to cache /api/*, and thus login responses from /api/session return another recent user session, potentially including the cookie such that subsequent requests are authenticated as that user. 2) Mentioned elsewhere in this thre…
Why do users get multiple other users instead of one then, if it's a global variable? I assume because Klarna is running on many servers?
Re: Klarna users are being signed in to random accounts
#237Does Klarna still do the IQ test as part of their hiring process?
tangential thought, but related: I am, in general, a proponent of nuclear energy as a green alternative to whatever the hell we are doing today. But when I see such stories that humans manage to fuck up simple payment processing apps, still make errors while maintaining bridges, still manage to do hugely negligent screw-ups (most likely corrupt) in *cable cars maintenance*, I immediately think that it is imminent, th…
It's all about good engineering practice and architecture.
Re: Klarna users are being signed in to random accounts
#238Earlier quoted context omitted.
It's not a web system but Mac OS messed it up once: https://objective-see.com/blog/blog_0x24.html Caching could be an issue, if they added a cache for a microservice call of /get/user?id=$USER and ignored the id parameter, /get/user?id=ipsin fetches data for the user ipsin, the system sees the next call /get/user?id=bellyfullofbac and thinks, "Wait, I have the results of /get/user in cache" and returns the data for i…
Besides having the HTTP verb in the URL (GET -> /get/), why would you put the id in the query? Why not just use GET /user/1234 instead of duplicating things by using GET /get/user?id=1234 . What does GET /get/user then even return, all users, no user, ...? Edit: typo
Re: Klarna users are being signed in to random accounts
#239I'm just guessing, but... "developer gets a great idea - let's push an update to the API as a GET request so we can cache this on the CDN... forgetting that the JWT token is potentially returned in the call. Now, whoever makes the call first gets their JWT token stored for everyone else to load instead when the API call is made." Ta-da, Klarna.
Re: Klarna users are being signed in to random accounts
#240Earlier quoted context omitted.
Debit cards is more common in quite a few places. My impression has always been that paying everything with a credit card is a U.S. thing. Here in Finland, It's not uncommon to have no debt apart from the mortage on one's home.
Mortgages are 70% of debt in the US. It is like saying I got perfect on a test except for the 70% I got wrong.