In the desktop app or a phone app, choose Sign in with your browser. A page of the service opens in your browser: sign in there as you do on the web — with two-step verification, or with Google or Microsoft where the service offers them — check that the app and the device it names are yours, and choose Sign in. The browser takes you back to the app, which is now signed in.
The app never sees your password, and you can sign it out at any time in Settings → Security → Connected devices. It is also how you sign in to an app when your account was made with Google or Microsoft and has no password. Update your apps to use it. The help center explains it: sign in to the apps with your browser.