Guide to secure your SmartAPI Account with two factor authentication
-
Hi @patisupa , we have modified the goLang. Please refer here - https://github.com/angel-one/smartapigo
-
@admin thanks for update
-
@smrtsaravanan Can you please paste your code here?
-
@Sukhwant280 said in Guide to secure your SmartAPI Account with two factor authentication:
smartApi.generateToken(refreshToken)
Why would you need smartApi.generateToken(refreshToken)?
-
@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. -
@aj_Brk not working for me
-
@gokul i am also getting same error
-
@ganesh
update using pip install smartapi-python --upgrade -
Hello team.
What about the c#.net sdk update ? did you updated to the library or setting some another way to use it ?
-
@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. -
@webseos Thanks for your simple and effective answer. This works really well.
-
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?
-
@clb Nice
-
@webseos thank you so much for info its working smooth.
-
@nikaashpuri
I also faced similar issue. After upgrading pyotp the issue is resolved for me$pip install --upgrade pyotp