We can use the application password without using actual user password.

See the step by step practice guide of application password in URL https://maheshwaghmare.com/doc/application-passwords/