This is the resp.text generated after passing the users credentials ''' response <!doctype html>Kite - Zerodha's fast and elegant flagship trading platform[data-theme="dark"] body { background-color: #111111; }try { var theme = JSON.parse(localStorage.__storejs_kite_theme); if (theme) { document.documentElement.setAttribute("data-theme", theme); } } catch (_) { }!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
For kite connect API login flow, you can go through documentation here.