Navigation

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

    Whenever I try to authenticate via the SmartAPI Python SDK, the server returns: “LoginByPassword is not allowed. Please switch to Login by MPIN now.”

    Python SDK
    2
    2
    4
    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.
    • S
      subhransu last edited by subhransu

      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

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

        @subhransu You will need to Enable TOTP, and use login API as per the documentation - https://smartapi.angelone.in/docs/User

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