Announcement

Collapse
No announcement yet.

Issue with API Login Using Two-Factor Authentication

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with API Login Using Two-Factor Authentication

    Hello Espo Team,I am facing an issue with logging into my CRM through the API. I have reviewed the documentation and successfully made a GET request to the CRM using basic authentication. Up to this point, everything works fine.However, I encounter a problem when two-factor authentication (2FA) is enabled. When I send a GET request to the user with basic authentication, I receive the two-factor authentication code. The issue arises once I have the OTP (one-time password) – I am unsure how to send the OTP via the API to complete the login process.Could you please assist me with this?Thank you.

  • #2
    You can see what request is sent when you are logging in with 2FA code from the UI. F12 > Network in the browser. Note that API Users don't support 2FA, hence we have not documented it.

    Comment

    Working...
    X