Apparently, all you have to do is to add `autocomplete="one-time-code"` and safari should be smart enough to do the rest. Ref.: https://robindirksen.com/blog/html-a...-one-time-code

I ain’t a web dev though. Someone with more experience at stuff like this please feel free to correct me.