Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    SmartAPI TOTP login issue – Invalid Token

    Bugs
    2
    2
    9
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tirthankargupta last edited by

      Hi, I enabled TOTP and scanned the QR (I have the secret and Authenticator shows codes). But SmartAPI lets me log in without ever asking for the 6-digit TOTP, and API login with totp gives {"message":"Invalid Token"}. Please confirm whether my account supports password+TOTP login, or if it is restricted to MPIN/SSO login only. If possible, enable password+TOTP for my account.

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @tirthankargupta The inputs need to be client code, password (ie. pin) and TOTP.

        Please note that TOTP changes every minute, do not use an old TOTP.

        If you are still stuck, try it in postman, and then make changes in your code accordingly.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post