To reproduce:
On a computer, visit https://kagi.com/signin
On your iPhone, scan the QR code
The issue:
On iPhones, the QR scanner built into the native camera app opens an in-app Safari window that doesn't reuse cookies from the main Safari app. Therefore the QR code takes you back to the Kagi sign-in page. Furthermore, when the QR code destination loads in a not-logged-in window, the ultimate destination is lost, and you just end up back at Kagi.com/signin. There is no way (using the native iOS camera app) to get this QR code to work.
Either let the user log in on their phone after loading the QR code’s destination (and store the destination in the URL, like Kagi.com/signin?redirect-login-code=askjdhakshd, and have that log them in on the computer; or add a QR scanner to the Kagi app that performs this function. Otherwise, this function will simply not work on an iPhone without using a 3rd party QR code reader.