-
Notifications
You must be signed in to change notification settings - Fork 38
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 another way wThank you, I have successfully obtained the device secret following your tutorial.ithout having to use the Battle.net App #41
Comments
I just went through this, migrating to a new TOTP app (Byebye Authy, no thanks for terminating your Desktop app...) A couple notes to help simplify:
Also, for the HEX-> Base32 conversion, If you are on MacOS, they don't include base32 by default (you can install with brew, "brew install coreutils"). However, I'd just use Cyberchef (it's simpler than cryptii, doesnt' store data, and works on any platform.) You can use this link: https://gchq.github.io/CyberChef/#recipe=From_Hex('Auto')To_Base32('A-Z2-7%3D') |
I appreciate this a lot. I used this method to setup battle net with 1Password. |
Thanks a lot. Worked perfectly to create a new token. You could write that you can go to step 5 (skip 3 and 4) if you don’t have one already. |
works fine with gauth, just pass it via qr code |
First step wasn't working in Firefox but it worked when I switched to Chromium. Thank you. |
Thanks @stacksjb, this method works. |
Followed this guide and eventually got it working. I found I always got an error using the built-in macos curl. Installed curl using homebrew and setup the PATH to use brew curl. I did this for kpxc and just needed to select Custom Settings in the Setup TOTP then paste in the |
Thanks a lot. It worked for me as of today. I skipped steps 3 and 4. I'm using native Apple password manager, it works just fine. To clarify: I removed my existing authenticator first, then I logged in blizzard.com, then followed the steps. |
1. Retrieve SSO Token:
EU-84902f44j57m687039586j7egdfa0a54-1165739690
2. Get Bearer Token:
Replace
<SSO_TOKEN>
with the token you got from step 1 and execute the following curl command to obtain the Bearer Token:Copy the Bearer Token to use in steps 3, 4. or 5.
3. Get Serial & Restore Codes:
Use the Bearer Token to fetch the Serial and Restore Codes of an existing authenticator:
4. Get Existing Authenticator Device Secret:
Use the Bearer Token, Serial, and Restore codes to retrieve the Device Secret of an Existing Authenticator:
5. Create and Add a New Authenticator:
Use the Bearer Token to create and add a new authenticator to the users account :
6. Add Authenticator to Password Manager.
After you have obtianed the
deviceSecret
convert it from hex to base32 usingecho "deviceSecret" | xxd -r -p | base32
on Linux/macOS or cryptii.com if on WindowsReplace
deviceSecret
in the following URL:otpauth://totp/Battle.net?secret=deviceSecret&digits=8
with the newly obtained base32 device secret, and you should have a working TOTP.Originally posted by @BillyCurtis in #38 (comment)
The text was updated successfully, but these errors were encountered: