Mfa api

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eduardofendrich
    Member
    • Jul 2021
    • 49

    Mfa api

    Hi,

    Is there any way to authenticate thru API and work with the MFA configuration?

    Thanks
  • eduardofendrich
    Member
    • Jul 2021
    • 49

    #2
    I have an user with MFA configured. When I try to log by API, I get the following error:
    HTTP/1.1 401 Unauthorized Date: Tue, 16 Nov 2021 18:55:42 GMT Server: Apache X-Frame-Options: SAMEORIGIN Access-Control-Allow-Methods: POST, GET, PUT, PATCH, DELETE X-Powered-By: PHP/7.4.16 X-Status-Reason: second-step-required Content-Length: 82 Content-Type: text/html; charset=UTF-8 {"status":"secondStepRequired","message":"enter Tot pCode","view":null,"token":null}
    Sure! That's right! However, how do I send the token in the 1st call? I'm using username/password to autheticate. No way using API key.


    Thanks

    Comment

    • eduardofendrich
      Member
      • Jul 2021
      • 49

      #3
      It's done. After some researches by myself, MFA thru API is running.

      Comment

      Working...