Thank you for reporting this Chrillep.
Can you please share more details / be more specific? The more details you can share the quicker we can find the cause of this issue.
Any specific usage of wp cli login, and what are the errors?
Looking forward to hearing from you.
Yeah sure π
steps to reproduce.
install wp login cli
https://aaemnnost.tv/wp-cli-commands/login/
https://github.com/aaemnnosttv/wp-cli-login-command
try and login with a user that exists
wp login as 1
see that the generated login link WORKS
install and setup 2fa plugin
try and login with a user that exists
wp login as 1
see that the generated login link FAILS
π
-
This reply was modified 2 years, 3 months ago by
chrillep.
Thank you for the explanation Chrillep. I’ve asked for more details because I thought you wanted the ability to configure the plugin via WP CLI, rather than this.
Question: what do you expect in this case, for 2FA to be bypassed or to be asked for a code?
just that the generated link should log you in as intended.
If that means bypassing 2fa then yes.
If you are able to run wp cli commands you have the rights (is my thought).
just that the generated link should log you in as intended.
If that means bypassing 2fa then yes.
If you are able to run wp cli commands you have the rights (is my thought).
Sorry for the delay in replying to this. Just wanted to let you know that we will be looking into this and we’ll certainly be doing something in the next update.
In the meantime, if you have any other questions, please do not hesitate to ask.
Have a great weekend.
great! thank you! the login command is such a time saver as a developer!
-
This reply was modified 2 years, 1 month ago by
chrillep.
hey @robert681 thanks for fast replies!
You got any status on this ? =)
Hello Chrillep,
I am afraid we do not have any ETA for this, however, it should be included in the next update.
I am sorry I cannot give you any date, but we do not give any ETAs for releases, especially for the free plugins.
Should you have any other questions please do not hesitate to ask.
Have a great day.
Thats ok. Promising means delivering π
for now im via WP-CLI
- disabling wp-2fa
- running login command
- enabling wp-2fa
Hello,
We are wrapping up the next update of WP 2FA and we have also looked into this. There are a few issues and we have to implement a lot of work-arounds to support this one, which might affect the functionality of other things. So for now we decided not to support this WP CLI extension / command.
Should this become more widely used and better supported, we’ll look into it again.
I am sorry this is not the answer you were looking for, but this is the best we can do at the moment.