Trying to make a ranking bot (With Auth.roblox and repl) (Log in issue)

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
  • I tried logging into my ranking bot’s account using node.js, axios. I’m new to axios and auth.roblox.com and the issue I’ve found is that I need a funCaptcha token which I don’t know how to get, wanted to find another way to login to my roblox ranking bot using axios. Or get this fixed.
  1. What is the issue? Include screenshots / videos if possible!
    Everytime I run the code (Yes, I am aware I don’t have a CaptchaToken), it prints out this:
data: { code: 0, message: 'Token Validation Failed' }
  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
  • I even tried searching but all of them use other methods that are either too hard or outdated, such as noblox.js, so I ended up deciding to ask here, maybe I’d get some help.

Kind Regards,
VladPhonkie <'3

  • INDEX.JS In my repl project:
const axios = require("axios")


axios.post(`https://auth.roblox.com/v1/login`, {

  "ctype": "Username",
 "captchaToken": "How does this work?", -- ????
"cvalue": "USERNAME-HERE-I-DELETED-IT-SO-YOU-DONT-GET-THE-PASSWORD-AND-USER",
"password": "PASSWORD-HERE-I-DELETED-IT-SO-YOU-DONT-GET-THE-PASSWORD-AND-USER"
  })
1 Like

You need to pass a x-csrf-token
When you get that error, roblox will send you a x-csrf-token header, simply just send it back as a header

How can I send and get the header sent?