not able to get request_token

pranksterguru
hi,
i am sending a httpget request to https://kite.trade/connect/login?api_key=XXXXXX and it returns https://kite.zerodha.com/connect/login?sess_id=nnn4ivocmbma20pojwfd9wrenm3ikl1t&api_key=xxxxxx . shouldnt i be getting request_token instead of sess_id ? in my application setting i have http://127.0.0.1 as redirect url. developer account id is [email protected]
  • Kailash
    You will get redirected after you put your login credentials in and successfully login.
  • pranksterguru
    but i am trying to automate the trading as an individual trader where i do not want to enter the username and password manually. is there any api that takes the login credential and return me the request_token?

    of course i can use selenium and automate the process of entering the username and password but i want to know if there is any way simple approach that you have already
  • Kailash
    Hi @pranksterguru,
    Keying in the username and password on our platform is a regulatory requirement.
  • jaffar
    Hi kailash,

    Im trying to automate this over Nodejs, can you explain this process?
  • sujith
    Hi @jaffar,
    As Kailash mentioned, we don't recommend automating login.
    it is mandatory by the exchange that a trader has to log in manually at least once a day.
Sign In or Register to comment.