Whenever I try to authenticate via the SmartAPI Python SDK, the server returns: “LoginByPassword is not allowed. Please switch to Login by MPIN now.”
-
Whenever I try to authenticate via the SmartAPI Python SDK, the server returns: “LoginByPassword is not allowed. Please switch to Login by MPIN now.”
As per SmartAPI documentation and SDK, the only supported authentication method is Client ID + Password + TOTP, which generates session tokens -
@subhransu You will need to Enable TOTP, and use login API as per the documentation - https://smartapi.angelone.in/docs/User