☰
Login
Signup
Home
›
Node JS client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2022
ayushpandey
April 2022
sujith
Unable to get Access Token
ayushpandey
April 2022
in
Node JS client
I have been trying to generate my access token from my react app but I am always getting NETWORK EXCEPTION. Please can anyone help?
Tagged:
Network Exception
kite connect exception.png
15.1K
sujith
April 2022
One should never expose api secret to outside world, or never embed api secret on frontend apps.
Because of CORS, you won't be able to make a request from your frontend app.
You need to make request for generating access token from your backend app.
sujith
April 2022
You can read more about login flow and best practices
here
.
ayushpandey
April 2022
Thanks sir for your help
This discussion has been closed.
Because of CORS, you won't be able to make a request from your frontend app.
You need to make request for generating access token from your backend app.