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.
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.