You can go through login flow FAQs here. https://kite.trade/forum/discussion/4732/frequently-asked-questions-faqs#login ==> Already have set all credential as mentioned in this solution
As mentioned in the documentation, we strongly recommend not to embed api_secret inside the client side application. It may become a huge security compromise. The token exchange has to happen on the …