Navigation

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

    Guide to secure your SmartAPI Account with two factor authentication

    General Discussion
    0
    104
    1955
    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.
    • A
      admin @Guest last edited by admin

      Hi @patisupa , we have modified the goLang. Please refer here - https://github.com/angel-one/smartapigo

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @admin last edited by

        @admin thanks for update

        1 Reply Last reply Reply Quote 0
        • R
          ravindra.e @smrtsaravanan last edited by

          @smrtsaravanan Can you please paste your code here?

          1 Reply Last reply Reply Quote 0
          • R
            ravindra.e @Sukhwant280 last edited by

            @Sukhwant280 said in Guide to secure your SmartAPI Account with two factor authentication:

            smartApi.generateToken(refreshToken)

            Why would you need smartApi.generateToken(refreshToken)?

            1 Reply Last reply Reply Quote 0
            • P
              patanjali196 last edited by patanjali196

              @admin I am unable to login to smartapi.angelbroking.com/enable-totp URL , But I am able to login to https://smartapi.angelbroking.com/apps with my credentials. But to ToTP i am not able to login, Its saying invalid userid or password. Please help me to resolve this issue.
              Thanks.

              1 Reply Last reply Reply Quote 0
              • G
                ganesh @aj_Brk last edited by

                @aj_Brk not working for me

                1 Reply Last reply Reply Quote 0
                • G
                  ganesh @gokul last edited by

                  @gokul i am also getting same error

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    ravindra.e @ganesh last edited by

                    @ganesh
                    update using pip install smartapi-python --upgrade

                    1 Reply Last reply Reply Quote 0
                    • Mr Depp
                      Mr Depp last edited by

                      Hello team.

                      What about the c#.net sdk update ? did you updated to the library or setting some another way to use it ?

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nichil72 @Mr Depp last edited by

                        @Mr-Depp said in Guide to secure your SmartAPI Account with two factor authentication:

                        Hello team.

                        What about the c#.net sdk update ? did you updated to the library or setting some another way to use it ?

                        Hello Team,
                        Please update on C#.Net sdk ASAP.

                        1 Reply Last reply Reply Quote 0
                        • C
                          cthomas @webseos last edited by

                          @webseos Thanks for your simple and effective answer. This works really well.

                          1 Reply Last reply Reply Quote 0
                          • N
                            nikaashpuri last edited by

                            I have suddenly started getting the following error when logging in using username, password, and otp using the API:

                            File "abc.py", line 327, in test_login_access
                                data = angel_obj.generateSession(user_id, password, totp.now())
                              File "/home/ubuntu/py37-venv/lib/python3.7/site-packages/smartapi/smartConnect.py", line 239, in generateSession
                                id=user['data']['clientcode']
                            TypeError: 'NoneType' object is not subscriptable
                            

                            What is going on here?

                            S 1 Reply Last reply Reply Quote 0
                            • C
                              clb last edited by

                              @clb Nice

                              1 Reply Last reply Reply Quote 0
                              • S
                                saurabh121 @webseos last edited by

                                @webseos thank you so much for info its working smooth.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sudha80 @nikaashpuri last edited by

                                  @nikaashpuri
                                  I also faced similar issue. After upgrading pyotp the issue is resolved for me

                                  $pip install --upgrade pyotp

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