☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.