Skip to content

Paying out robux from a group, when the group holder has two factor authentication enabled

Notifications You must be signed in to change notification settings

Cramber25/roblox2fapayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Paying out robux from a group, when the group holder has two factor authentication enabled

main.py contains example python code that does the whole process

How it works:

1.

When your group payout request returns error 403 and message "Challenge is required to authorize the request", it contains two headers with data to validate your session with two factor authentication. The headers are:

  • "rblx-challenge-id": it contains the first challenge id used to validate the session
  • "rblx-challenge-metadata": this header contains base64 encoded table, with a second challenge id

2.

After saving both the challenge ids, you need to send a post request to the endpoint twostepverification.roblox.com/v1/users/%group holder id%/challenges/authenticator/verify (the response to this request will contain a verification token, used to validate your session), with body containing following json:

{
  "actionType": "Generic",
  "challengeId": "%second challenge id%",
  "code": "%your 6 digit 2fa code%"
}

3.

Now that you have the verification token, its time to validate your session. Send a post request to apis.roblox.com/challenge/v1/continue with body containing this json: (Make sure to turn challengeMetadata value into a string. It can't be an object/dictionary.)

{
  "challengeId": "%first challenge id%",
  "challengeMetadata": { "rememberDevice": false, "actionType": "Generic", "verificationToken": "%the verification token%", "challengeId": "%the second challenge id%" },
  "challengeType": "twostepverification"
}

4.

The next payout request using the same session has to include 3 new headers:

  • rblx-challenge-id - containing the first challenge id
  • rblx-challenge-type - containing the string "twostepverification"
  • rblx-challenge-metadata - containing this base64 encoded json:
{
   "rememberDevice": false,
   "actionType": "Generic",
   "verificationToken": "%the verification token%",
   "challengeId": "%the second challenge id%"
}

5.

That's it! Everything should be validated and robux sent.

About

Paying out robux from a group, when the group holder has two factor authentication enabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages