You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After you have obtianed the deviceSecret convert it from hex to base32 using echo "deviceSecret" | xxd -r -p | base32 on Linux/macOS or cryptii.com if on Windows
Replace 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.
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:
If you already have an authenticator, you will do steps 3 and 4 (NOT 5) - you will request the secrets for your existing Authenticator into your TOTP app.
If you do NOT have an authenticator already attached, you will do step 5 (not 3 and 4), and create a new one.
NOT both (If you try step 5 and already have an authenticator, you'll get an error that one is already attached - you can't attach a new one).
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.)
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: