How to run 2 same user apps independently who received their own socket feeds & place/manage orders?

JBC982

How to create two API key having same api secret so that i run all logic with single token , but in different in memory sessions for both individual apps.
When generate_session is called, it has to be called with a request token(api key based) and api secret.
  • nagavenij
    In Kite Connect, multiple API keys cannot share the same API secret, a single access token cannot be used across different applications, and each app has its own API key, API secret, and session, with the generate_session process being specific to each API key–secret combination. You may refer to API documentation.
  • JBC982
    The documentation is not clear as it dont show how 2 different app keys can work simultaneously with their own sessions as at a time only one token can be active of a session for a user. If you call generate_session() from app2 then app1 session and token becomes invalid.
Sign In or Register to comment.