KorekKayu/KIRO-Refresh-Token ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Node.js bot that can automatically register or log in to Kiro using Google sign in through a browser. It should read a list of accounts from accounts.txt in email:password format, open the Kiro sign in page, click the Google button, fill in the Google login, handle the consent screen, and then wait for the redirect back to Kiro.
After a successful login, I want it to capture the access token and refresh token from the browser session, save each account’s result into a file, and also collect all refresh tokens into RT.txt. If an account has already been processed successfully, skip it so it doesn’t run again. If something fails, save a screenshot so I can see what went wrong.
Please make it easy to run from the terminal, and if it helps, include a Windows batch launcher too. If you need to check the latest Playwright details online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit