I have 2 applications created in my Zerodha account. I am using KiteConnect nodeJS library to login to these applications programatically. Problem is, when I get logged-in to first application (get the access token) and tries to logged-in to second app in same browser another tab I get below error,
{ "error_type": "ForbiddenError", "message": "The user is not enabled on the app.", "status": "error" }
Could you please suggest me the way to get logged-in to multiple applications using single browser without getting logged-out.
Hi @Murli, All Kite Connect apps are by default single user Apps. You can't use Kite Connect app with multiple users. When you log out of the browser, you are basically logging out everywhere. Just make sure you are not logging out the first user while doing login for second app/second user.
You can use two browsers or incognito window for second user login.
Before writing this question on forum I already checked the same in incognito window. But after first user gets logs in, I am not able to login in to 2nd user even on another incognito window.
What if I have 30 valid users (in some time we will create more apps/users) and want to login all of them. It means I will need 30 different browsers, in case I do not go for incognito window.
Hi Sujit, I am getting this error "user is not authorised on App.". I have just 1 user and trying to run my program to obtain today's access key but a new page come where it asks me to "Authorise". But when I hit "Authorize", it gives me an error called "user is not authorised on App." . Earlier (till yesterday) I was using another account to run my code, my friend's acct and api, but i bought a new one in my own account today. On this one, my code to generate access token is not working. The code I use to generate access token is same that mentioned on Github my user id is xxx.
Even i am facing same issue , anybody have the solution of this i am single user ...is token generation has some time duration i mean to say in the morning time
All Kite Connect apps are by default single user Apps. You can't use Kite Connect app with multiple users.
When you log out of the browser, you are basically logging out everywhere. Just make sure you are not logging out the first user while doing login for second app/second user.
You can use two browsers or incognito window for second user login.
Before writing this question on forum I already checked the same in incognito window. But after first user gets logs in, I am not able to login in to 2nd user even on another incognito window.
Which browser are you using?
Mozilla and Chrome browsers.
What if I have 30 valid users (in some time we will create more apps/users) and want to login all of them. It means I will need 30 different browsers, in case I do not go for incognito window.
Thanks, Murli
Please comment on my last query. Would appreciate your prompt reply.
Thanka, Murli
Kite Connect is a for personal use. Hence it is very unlikely that someone will run into this kind of issue.
any kind of admin or enterprise level APIs platform provides for multi user login in 1 browser only.
Thanks, Murli
Please email talk(at)rainmatter.com someone from our team will get in touch with you.
Please don't post client id or app tokens on a public thread. You can write a private message if you have to mention those.