SmartAPI TOTP login issue – Invalid Token
-
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.
-
@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.