@neauoire If you're in Apple's ecosystem land, the automatic keychain password keeping is pretty great.
It (now) includes OTPs and completes them automatically, like the password field.
The system is not flawless but is better than other keepers I've used, is really nicely integrated, and keeps improving.
… sorry if this is totally useless advice in your case!
@benjohn it's useless to me, but maybe someone reading this can make use of the advice. It's been many years since I've seen an OSX device :)