Unable to get access token

quadcodes
quadcodes edited April 2018 in API clients
I have just signed up for developer account with Zerodha. I'm trying to connect to kite api v3. Currently I'm woking on localhost @ "http://127.0.0.1:8888". I have set "http://127.0.0.1:8888" as redirect url in the kite connect developer dashboard. When I try to visit login url : https://kite.trade/connect/login?v=3&api_key=xxx, It successfully redirects me to my setup environment at "http://127.0.0.1:8888" with request_token in return. But When I try to get access token on the same page after redirect, I get "Authentication failed: Token is invalid or has expired." error. I have tried both php & node js clients but Both returns same error. Please guide me. Is redirect url with port as "http://127.0.0.1:8888" not allowed ?
Sign In or Register to comment.