Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor robertabela

    (@robert681)

    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.

    Thread Starter chrillep

    (@chrillep)

    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 11 months ago by chrillep.
    Plugin Contributor robertabela

    (@robert681)

    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).

    Thread Starter chrillep

    (@chrillep)

    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).

    Plugin Contributor robertabela

    (@robert681)

    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.

    Thread Starter chrillep

    (@chrillep)

    great! thank you! the login command is such a time saver as a developer!

    • This reply was modified 9 months, 1 week ago by chrillep.
    Thread Starter chrillep

    (@chrillep)

    hey @robert681 thanks for fast replies!
    You got any status on this ? =)

    Plugin Contributor robertabela

    (@robert681)

    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.

    Thread Starter chrillep

    (@chrillep)

    Thats ok. Promising means delivering ??
    for now im via WP-CLI

    • disabling wp-2fa
    • running login command
    • enabling wp-2fa
    Plugin Contributor robertabela

    (@robert681)

    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.