We have integrated Kite Connect & Kite Publisher in our App. At the time of Login to Kite Connect the User has marked "Login to Kite Web also?" as true but after Login when the User placing order via Kite Publisher you are opening an in App modal & again asking the User to Login via User Id, Password & TOTP. Please suggest some solution for the same.
1st of all when the User clicks on Login Button (Android Device) we are opening "https://kite.zerodha.com/connect/login?sess_id=XXXXXXXX&api_key=XXXXXX" in Chrome Browser. After that the User gives Login ID, Password & also mark "Login to Kite Web also?" as true and submit with TOTP. Then we will show all the Menus like Place Order, Order Book, Margin etc. to the User. Then the User clicks on Place Order & fill all the required information for a Stock to Place a Buy/Sell Order and clicks on Submit Button now when calling Publisher JS, your Publisher JS is opening an In App Modal & again asking the User to Login via User Id, Password & TOTP. This is the actual issue, please provide some solution to bypass this duplicate login issue.
Have you enabled cookies?
1st of all when the User clicks on Login Button (Android Device) we are opening "https://kite.zerodha.com/connect/login?sess_id=XXXXXXXX&api_key=XXXXXX" in Chrome Browser. After that the User gives Login ID, Password & also mark "Login to Kite Web also?" as true and submit with TOTP. Then we will show all the Menus like Place Order, Order Book, Margin etc. to the User. Then the User clicks on Place Order & fill all the required information for a Stock to Place a Buy/Sell Order and clicks on Submit Button now when calling Publisher JS, your Publisher JS is opening an In App Modal & again asking the User to Login via User Id, Password & TOTP. This is the actual issue, please provide some solution to bypass this duplicate login issue.
Your Publisher JS is not opening in Chrome (Default Browser for Android). It is opening in-app modal. Please find attached.