You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, for completeness the cli alternative to change the password today would be
FLASK_APP=airflow.www.app flask fab reset-password
The username [admin]: theusernameyouwanttochange
Password: xxxxx
Repeat for confirmation: xxxxx
INFO - Updated user Firstname Lastname
I was trying to do it via the Web UI but I could find a way to change the password of another user.
I tried via Security > List users > Edit record and I don't see any way to change the password. I see that I can change / reset my own password via the profile icon on the top right > Your Profile > Reset password but I'm after reseting the password for another user (as an admin)
Click on the "show user" (a small looking glass icon) for a user as an admin and you will see reset password button.
Ok, found it, well definitely I didn't expect to find "reset password" under "Show user" instead of "Edit user"
Yep. Agree it's not intuitive. And as usual in open-source project like this PRs to change it are most welcome of course, if you think it could be improved 😄
It's the right one - it's deprecated only because it's moved with AuthManager implementatiobn (but we have not described it well enough and did not generate swagger/API documentation for the new endpoints- it's coming in #36664
Activity
aritra24 commentedon Jan 25, 2024
That seems reasonable, I can take a look into adding it
ecerulm commentedon Jan 25, 2024
By the way, for completeness the cli alternative to change the password today would be
potiuk commentedon Jan 25, 2024
Or you can use API or Web UI. But yes CLI command would be useful.
ecerulm commentedon Jan 26, 2024
I was trying to do it via the Web UI but I could find a way to change the password of another user.
I tried via Security > List users > Edit record and I don't see any way to change the password. I see that I can change / reset my own password via the profile icon on the top right > Your Profile > Reset password but I'm after reseting the password for another user (as an admin)
potiuk commentedon Jan 26, 2024
Cick on the "show user" (a small looking glass icon) for a user as an admin and you will see
reset passwordbutton.ecerulm commentedon Jan 26, 2024
Ok, found it, well definitely I didn't expect to find "reset password" under "Show user" instead of "Edit user"
potiuk commentedon Jan 26, 2024
Yep. Agree it's not intuitive. And as usual in open-source project like this PRs to change it are most welcome of course, if you think it could be improved 😄
ecerulm commentedon Jan 26, 2024
You also mention Airflow REST API as a way, I found https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/patch_user but it seems deprecated, is this the wrong one?
potiuk commentedon Jan 26, 2024
It's the right one - it's deprecated only because it's moved with AuthManager implementatiobn (but we have not described it well enough and did not generate swagger/API documentation for the new endpoints- it's coming in #36664