2 Factor Authentication

Hi,

After listening to your feedback, we are going to start supporting 2 factor authentication on API accounts. The process to enable it and login is explained in the docs :

  • Go to login settings and click “Enable Two-Factor Authentication”

  • Copy the secret into your TOTP library
  • Generate one code using it and paste it in the dialog

An example with Python:

import pyotp
totp = pyotp.TOTP('PW7R4HNGJZWB2W3A')
totp.now() # => '492039'

  • Click “Enable Two-Factor Authentication”

Every time you login:

  • Make a POST request to /v3/sessions/ to get a token

  • Make a POST request to /v3/sessions/verify/ with the token and the code generated by you to complete the login

1 Like