• Resolved deltahedge

    (@deltahedge)


    I am trying to implement JWT for a React application that will be connecting to a client site. However, I see that there is a method being applied in the login class that blocks access when at least one 2FA method is enabled. Is there a way to disable this without directly editing the code? Or is there a way to simply pass the 2FA code through on the JWT request?

Viewing 1 replies (of 1 total)
  • Plugin Contributor robertabela

    (@robert681)

    Thank you for your message @deltahedge

    I’m afraid that at the moment it is not possible to achieve that without changing the code, however, we will soon introduce application passwords, so you can still log in to an account with 2FA without 2FA.

    Having said that you can still “work around” this. If you are using a user account for some automation and application, can’t you create a dedicated user and not enforce any 2FA on that user?

    I’d like to learn more about your requirements so we can see how to better assist you.

    Looking forward to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘2FA Rest API’ is closed to new replies.