Authentication failed: Invalid session credentials Fatal error: Uncaught TokenException (403) 'Invalid session credentials' thrown in C:\Ofek-Work\workspaces\php_workspace\finance\kiteconnect.php on line 668
While i put my api key and secret key in the correct placeholders from here
I am using Kite on the server side to get quotes for following and analysing for personal use, and i dont get how it should be done, specifically didnt get this comment :
// Assuming you have obtained the `request_token` // after the auth flow redirect by redirecting the // user to $kite->login_url()
You have to get login url with loginUrl() method and open browser and manually login. After successful login you will be redircted to registered redirect url with request token. Use the same for getting access token. For more information, go through documentation https://kite.trade/docs/connect/v1/#login-flow
You have to get login url with loginUrl() method and open browser and manually login. After successful login you will be redircted to registered redirect url with request token. Use the same for getting access token. For more information, go through documentation https://kite.trade/docs/connect/v1/#login-flow