I am currently trying to move my verification bot to host it on replit, but as expected, I’m having issues with the cookie not working from the new IP which my replit server is at. Further I can not login via the auth api, as that requires a captcha.
Has anyone come across any working solutions for this problem?
What exactly do you mean? I am simply running the code on replit, in the replit environment
(here, a screenshot incase that helps answer your question)
Found a solution for this (for post requests you will need to be getting your csrf token manually probably though).
There are quite a few repls that allow you to run chrome/firefox in replit, you can log into your roblox account there and extract the cookie. That one works.
If you are using something like replit, launch a command line version of a browser or so (so that you’re on the same ip), log in, get your cookie, then before every actual request, send a request to https://auth.roblox.com/v2/logout (this will not actually log you out because it is unauthorised) with x-csrf-token header set to undefined/nil/null/empty string. This will then return a valid x-csrf-token in the response headers which you can use for your actual request.