Hello developers!
I am currently making a login system for my ranking service and i have done the basic setups so the user can do the captcha, There is one problem though, When the user solves the i cant rly get the captcha token.
I am using this nodejs api: funcaptcha - npm
and i have done creating sessions and challenges and solving just need help getting the captcha token.
my code for solving.
router.post("/captcha/answer", async (req, res) => {
if (currentChallange) {
const awnser = req.body.tile
const awn = await currentChallange.answer(awnser)
if (currentlyOnWave === TotalWaves) {
if (awn.solved === true) {
console.log(awn)
const postRequest = await axios.post("https://auth.roblox.com/v2/login", {
"cType": "Username",
"cValue": Username,
"password": Password,
"captchaId": data["unifiedCaptchaId"],
"captchaToken": "string",
"captchaProvider": "string",
"challengeId": challenge["challengeID"]
}, {
'X-CSRF-TOKEN': c,
'Referer': "https://www.roblox.com",
'user-agent': User,
'content-type': 'application/json;charset=UTF-8',
'accept': 'application/json, text/plain, */*',
})