Navigation

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

    Login by mpin

    General Discussion
    0
    4
    24
    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
      sreyas last edited by

      AngelBroking get_access_token failed: AB7001 : LoginbyPassword is not allowed. Please switch to Login by MPIN now. How to resolve this ?

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

        Use loginByPassword API.

        API snippet is as below:

        {
        	"clientcode":"Your client code",
        	"password":"Your 4 digit Pin",
                 "totp":"Your TOTP"
        }
        

        You need to Enable TOTP before using this API.

        You can enable TOTP here https://smartapi.angelone.in/enable-totp
        LoginByPassowrd documentation - https://smartapi.angelone.in/docs/User

        S 1 Reply Last reply Reply Quote 0
        • S
          sreyas @admin last edited by

          @admin Thank you for your response. I have already enabled this option. While performing this process, I encountered an issue entering the client ID and password. The issue is that login by password is not allowed, and switching to MPIN works. Then I returned to my code, but the issue persists. Is there any other endpoint for this? Please help me fix this issue.

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

            @sreyas No, you cannot login by password.

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