pyetrade icon indicating copy to clipboard operation
pyetrade copied to clipboard

Verification code

Open millionarecoin opened this issue 3 years ago • 2 comments

What are you inputting on verification code. Because if I enter say abc or 123 it doesnt take. Where to get this value from. oauth.get_request_token is giving me back this value:

token: https://us.etrade.com/e/t/etws/authorize?key=2b85989shjgdjhsgdhgs&token=66uucqXz5Nb6tsKmhdghghgd=

  • The values are wrong and manually typed up.

This piece of code is where it is not working.

verifier_code = input("Enter verification code: ") #verifier_code = token tokens = oauth.get_access_token(verifier_code) print(tokens)

millionarecoin avatar May 21 '22 16:05 millionarecoin

check #56, esp:

https://github.com/jessecooper/pyetrade/issues/56#issuecomment-973304713

mw66 avatar May 21 '22 18:05 mw66

@millionarecoin You are supposed to use that url that is returned and go that that URL in the browser. Login using your etrade user/password. It will then prompt for a verification code which is valid for 5 minutes.

zlpatel avatar Nov 08 '22 05:11 zlpatel