-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is my guide on how to attach an authenticator to a Battle.net account #42
Comments
Worked perfectly. I only had a problem with getting the SSO token because I didn't log out before using the first link. |
Step 3 is not giving me a response, it comes back as blank |
@Archelius92 Working fine on my end. Make sure you have a phone number linked to the Battle.net account and that there's no attached authenticator to it and try again |
it is so useful,thanks!!!! |
Great guide, thank you very much!! Had nothing to do, so here's a script to help with the steps: |
Reposting my comment (see #38) as a new issue.
Hello everyone. Thanks to
@BillyCurtis
and@Gigafrost
, I made it too! I have wrapped up both their methods, tested, and rewrote them for people who still are facing issues. Here is my guide on how to attach an authenticator to a Battle.net account.Before Starting...
Perquisites
Step 1. Retrieve SSO Token
EU-u33pyxqgx5l73zu936oujss6mabeyhry-1177987422
orUS-u33pyxqgx5l73zu936oujss6mabeyhry-1177987422
Step 2. Get Bearer Token
<SSO_TOKEN>
with the SSO Token you retrieved from Step 1 in the following command and execute it to obtain the Bearer Token.{"access_token":"XXX","token_type":"bearer","expires_in":0,"scope":"auth.authenticator","sub":"XXX"}
Step 3. Attach a New Authenticator
<BREARER_TOKEN>
with the Bearer Token you retrieved from Step 2 in the following command and execute it to attach an authenticator to your Battle.net account and obtain Device Secret.{"serial":"XXX","restoreCode":"XXX","deviceSecret":"XXX","timeMs":0,"requireHealup":false}
Additional Notes
Step 4. Setup the Attached Authenticator to a TOTP URL
deviceSecret
, convert it from hex to base32 using cryptii.com/pipes/hex-to-base32.deviceSecret
with the following TOTP URL with the newly obtained Device Secret, and you should have a working TOTP URL.otpauth://totp/Battle.net?secret=deviceSecret&digits=8
Credits
@BillyCurtis
.@Gigafrost
.The text was updated successfully, but these errors were encountered: