Prevent Firefox save password prompt

We are using Vaadin 24 and have a one time password login page where Firefox prompts the user to save password when logging in. Is there a way to prevent this since it’s a one time password login page?

I think browser manufacturers in general are quite opposed to allowing the disabling of password managers. There have been different workarounds over the years (such as autocomplete="off" or autocomplete="[%random-number]" but the ones I can remember don’t work any longer.

I think the standard answer to “well what about one-time passwords” is “you don’t need to use a password field for a one-time password”, but…