If you are using SimpleAuthManager, the user name is defined by simple_auth_manager_users in airflow.cfg. Default is admin:admin meaning a user named "admin" that has the "admin" role. The password is auto-generated and can be found in the webserver's log. See airflow's document here